diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2020-11-24 14:56:35 +0100 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2021-01-28 11:33:29 +0100 |
commit | 2b97c1d733b1fc310ecc6b4babbd7c6725718d46 (patch) | |
tree | 4133e74ac922528048a60e2261be14e16f9eaf36 /test/e2e/create_test.go | |
parent | 4dbb58d63759ab1019b55bc50816e30361715d8b (diff) | |
download | podman-2b97c1d733b1fc310ecc6b4babbd7c6725718d46.tar.gz podman-2b97c1d733b1fc310ecc6b4babbd7c6725718d46.tar.bz2 podman-2b97c1d733b1fc310ecc6b4babbd7c6725718d46.zip |
Allow static ip and mac with rootless cni network
Make sure we pass the ip and mac address as CNI_ARGS to
the cnitool which is executed in the rootless-cni-infra
container.
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'test/e2e/create_test.go')
-rw-r--r-- | test/e2e/create_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/create_test.go b/test/e2e/create_test.go index a4931ff2d..2e9f5455d 100644 --- a/test/e2e/create_test.go +++ b/test/e2e/create_test.go @@ -553,7 +553,7 @@ var _ = Describe("Podman create", func() { }) It("create container in pod with IP should fail", func() { - SkipIfRootless("Setting IP not supported in rootless mode") + SkipIfRootless("Setting IP not supported in rootless mode without network") name := "createwithstaticip" pod := podmanTest.RunTopContainerInPod("", "new:"+name) pod.WaitWithDefaultTimeout() @@ -565,7 +565,7 @@ var _ = Describe("Podman create", func() { }) It("create container in pod with mac should fail", func() { - SkipIfRootless("Setting MAC Address not supported in rootless mode") + SkipIfRootless("Setting MAC Address not supported in rootless mode without network") name := "createwithstaticmac" pod := podmanTest.RunTopContainerInPod("", "new:"+name) pod.WaitWithDefaultTimeout() |