** 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 Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
