diff --git a/cloudconfig/containerinit/container_userdata_test.go b/cloudconfig/containerinit/container_userdata_test.go
index <HASH>..<HASH> 100644
--- a/cloudconfig/containerinit/container_userdata_test.go
+++ b/cloudconfig/containerinit/container_userdata_test.go
@@ -133,6 +133,8 @@ bootcmd:
 - |-
   printf '%s\n' '` + indentedNetConfig + `
   ' > '` + s.networkInterfacesFile + `'
+runcmd:
+- ifup -a || true
 `
 	assertUserData(c, cloudConf, expected)
 }
cloudconfig/containerinit: Fixed userdata tests to include ifup -a || true