/etc/vmbuilder/firstscripts/firstloginrc.tmpl is in python-vm-builder 0.12.4+bzr489-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | #!/bin/sh -e
#execute firstlogin.sh only once
if [ ! -e /root/firstlogin_done ]; then
if [ -e /root/firstlogin.sh ]; then
/root/firstlogin.sh
fi
# This part should not be necessary any more
# sudo dpkg-reconfigure -p critical console-setup &> /dev/null
sudo touch /root/firstlogin_done
fi
|