[Bug 922645] Re: ubuntu template should fail on error
Clint Byrum
clint at fewbar.com
Fri Feb 3 15:31:22 UTC 2012
** Description changed:
lxc-create should fail if parts of the ubuntu container setup failed.
+
+ TEST CASE:
+
+ 1. make sure /var/cache/lxc is empty
+ 2. lxc-create -n test -t ubuntu -- oneiric
+ 3. edit /var/cache/lxc/oneiric/etc/resolv.conf , set DNS server to unroutable IP (192.168.200.99)
+ 4. lxc-create -n test2 -t ubuntu -- oneiric
+ 5. verify exit code is 0 (echo $?)
+ 6. chroot /var/lib/lxc/test2/rootfs dpkg -l lxcguest # verify that no lxcguest is installed
+ 7. lxc-destroy -n test2
+ 7. Install updated lxc
+ 8. Repeat step 4
+ 9. verify exit code is not 0
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/922645
Title:
ubuntu template should fail on error
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/922645/+subscriptions
More information about the Ubuntu-server-bugs
mailing list