This bug is a substantial regression from Karmic, so I'm going to SRU this.
It was fixed in http://bazaar.launchpad.net/~ubuntu-virt/vmbuilder/0.12/revision/440 which is included in the new 0.12.4 release upstream.
TEST CASE: cat <<EOF > /tmp/myfirstbootscript.sh #!/bin/sh echo yes, it does > /does_it_work EOF sudo vmbuilder kvm ubuntu --firstboot /tmp/myfirstbootscript.sh
Boot the resulting virtual machine. Log in and check that it has a file called /does_it_work and that it says "yes, it does" in it.
This bug is a substantial regression from Karmic, so I'm going to SRU this.
It was fixed in http:// bazaar. launchpad. net/~ubuntu- virt/vmbuilder/ 0.12/revision/ 440 which is included in the new 0.12.4 release upstream.
TEST CASE: tscript. sh tscript. sh
cat <<EOF > /tmp/myfirstboo
#!/bin/sh
echo yes, it does > /does_it_work
EOF
sudo vmbuilder kvm ubuntu --firstboot /tmp/myfirstboo
Boot the resulting virtual machine. Log in and check that it has a file called /does_it_work and that it says "yes, it does" in it.