Skip to content

Instantly share code, notes, and snippets.

@mpage
Created December 22, 2011 19:39
Show Gist options
  • Save mpage/1511556 to your computer and use it in GitHub Desktop.
Save mpage/1511556 to your computer and use it in GitHub Desktop.
2011-12-21 19:11:10,536 DEBUG : Calling bootstrap method in context plugin VMBuilder.plugins.ubuntu.distro.
2011-12-21 19:11:10,537 DEBUG : ['mount', '-o', 'loop', '-t', 'iso9660', '/var/tmp/ubuntu.iso', '/tmp/tmp4V4Gb4']
2011-12-21 19:11:10,543 DEBUG : ['/usr/sbin/debootstrap', '--arch=amd64', 'lucid', '/tmp/tmpevT0kp', 'file:///tmp/tmp4V4Gb4']
<SNIP>
2011-12-21 19:11:53,359 INFO : Calling hook: configure_os
2011-12-21 19:11:53,418 DEBUG : Output from template '/workspace/scratch/VMBuilder-0.12.4/VMBuilder/plugins/ubuntu/templates/sources.list.tmpl':
deb http://archive.ubuntu.com/ubuntu lucid main universe multiverse
deb http://archive.ubuntu.com/ubuntu lucid-updates main universe multiverse
deb http://security.ubuntu.com/ubuntu lucid-security main universe multiverse
2011-12-21 19:11:53,418 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'apt-get', 'update']
<SNIP>
2011-12-21 19:12:02,180 DEBUG : Output from template '/workspace/scratch/VMBuilder-0.12.4/VMBuilder/plugins/ubuntu/templates/nostart-policy-rc.d.tmpl':
#!/bin/sh
while true; do
case "$1" in
-*)
shift
;;
makedev)
exit 0
;;
x11-common)
exit 0
;;
*)
exit 101
;;
esac
done
2011-12-21 19:12:02,183 DEBUG : Output from template '/workspace/scratch/VMBuilder-0.12.4/VMBuilder/plugins/ubuntu/templates/initctl-stub.tmpl':
#!/bin/sh
echo
echo "Warning: Fake initctl called, doing nothing"
2011-12-21 19:12:02,184 DEBUG : ['mount', '--bind', '/dev', '/tmp/tmpevT0kp/dev']
2011-12-21 19:12:02,187 DEBUG : ['mount', '--bind', '/dev/pts', '/tmp/tmpevT0kp/dev/pts']
2011-12-21 19:12:02,191 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'mount', '-t', 'proc', 'proc', '/proc']
2011-12-21 19:12:02,194 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'apt-get', 'install', '-y', '--force-yes', 'runit']
<SNIP>
2011-12-21 19:12:05,196 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', '--disabled-password', '--gecos', 'Ubuntu', 'vcap']
2011-12-21 19:12:05,233 DEBUG : Adding user `vcap' ...
2011-12-21 19:12:05,233 DEBUG : Adding new group `vcap' (1000) ...
2011-12-21 19:12:05,242 DEBUG : Adding new user `vcap' (1000) with group `vcap' ...
2011-12-21 19:12:05,252 DEBUG : Creating home directory `/home/vcap' ...
2011-12-21 19:12:05,253 DEBUG : Copying files from `/etc/skel' ...
2011-12-21 19:12:05,274 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'addgroup', '--system', 'admin']
2011-12-21 19:12:05,323 DEBUG : Adding group `admin' (GID 104) ...
2011-12-21 19:12:05,330 DEBUG : Done.
2011-12-21 19:12:05,333 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'admin']
2011-12-21 19:12:05,388 DEBUG : Adding user `vcap' to group `admin' ...
2011-12-21 19:12:05,390 DEBUG : Adding user vcap to group admin
2011-12-21 19:12:05,396 DEBUG : Done.
2011-12-21 19:12:05,407 DEBUG : Output from template '/workspace/scratch/VMBuilder-0.12.4/VMBuilder/plugins/ubuntu/templates/sudoers.tmpl':
# /etc/sudoers
# This file MUST be edited with the 'visudo' command as root.
# See the man page for details on how to write a sudoers file.
# Defaults
Defaults !lecture,tty_tickets,!fqdn
# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
2011-12-21 19:12:05,408 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'adm']
2011-12-21 19:12:05,454 DEBUG : Adding user `vcap' to group `adm' ...
2011-12-21 19:12:05,455 DEBUG : Adding user vcap to group adm
2011-12-21 19:12:05,461 DEBUG : Done.
2011-12-21 19:12:05,464 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'audio']
2011-12-21 19:12:05,517 DEBUG : Adding user `vcap' to group `audio' ...
2011-12-21 19:12:05,518 DEBUG : Adding user vcap to group audio
2011-12-21 19:12:05,524 DEBUG : Done.
2011-12-21 19:12:05,527 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'cdrom']
2011-12-21 19:12:05,567 DEBUG : Adding user `vcap' to group `cdrom' ...
2011-12-21 19:12:05,568 DEBUG : Adding user vcap to group cdrom
2011-12-21 19:12:05,574 DEBUG : Done.
2011-12-21 19:12:05,576 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'dialout']
2011-12-21 19:12:05,617 DEBUG : Adding user `vcap' to group `dialout' ...
2011-12-21 19:12:05,618 DEBUG : Adding user vcap to group dialout
2011-12-21 19:12:05,624 DEBUG : Done.
2011-12-21 19:12:05,626 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'floppy']
2011-12-21 19:12:05,667 DEBUG : Adding user `vcap' to group `floppy' ...
2011-12-21 19:12:05,668 DEBUG : Adding user vcap to group floppy
2011-12-21 19:12:05,674 DEBUG : Done.
2011-12-21 19:12:05,677 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'video']
2011-12-21 19:12:05,717 DEBUG : Adding user `vcap' to group `video' ...
2011-12-21 19:12:05,718 DEBUG : Adding user vcap to group video
2011-12-21 19:12:05,726 DEBUG : Done.
2011-12-21 19:12:05,728 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'plugdev']
2011-12-21 19:12:05,768 DEBUG : Adding user `vcap' to group `plugdev' ...
2011-12-21 19:12:05,769 DEBUG : Adding user vcap to group plugdev
2011-12-21 19:12:05,776 DEBUG : Done.
2011-12-21 19:12:05,778 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'dip']
2011-12-21 19:12:05,818 DEBUG : Adding user `vcap' to group `dip' ...
2011-12-21 19:12:05,819 DEBUG : Adding user vcap to group dip
2011-12-21 19:12:05,825 DEBUG : Done.
2011-12-21 19:12:05,826 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'netdev']
2011-12-21 19:12:05,871 DEBUG : adduser: The group `netdev' does not exist.
2011-12-21 19:12:05,871 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'powerdev']
2011-12-21 19:12:05,905 DEBUG : adduser: The group `powerdev' does not exist.
2011-12-21 19:12:05,906 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'lpadmin']
2011-12-21 19:12:05,940 DEBUG : adduser: The group `lpadmin' does not exist.
2011-12-21 19:12:05,941 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'adduser', 'vcap', 'scanner']
2011-12-21 19:12:05,986 DEBUG : adduser: The group `scanner' does not exist.
2011-12-21 19:12:05,987 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'chpasswd']
2011-12-21 19:12:05,987 DEBUG : stdin was set and it was a string: vcap:ca$hc0w
2011-12-21 19:12:06,005 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'chpasswd']
2011-12-21 19:12:06,006 DEBUG : stdin was set and it was a string: root:ca$hc0w
2011-12-21 19:12:06,033 DEBUG : Output from template '/workspace/scratch/VMBuilder-0.12.4/VMBuilder/plugins/ubuntu/templates/etc_hosts.tmpl':
127.0.0.1 localhost
127.0.1.1 ubuntu.defaultdomain ubuntu
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
2011-12-21 19:12:06,037 DEBUG : Output from template '/workspace/scratch/VMBuilder-0.12.4/VMBuilder/plugins/ubuntu/templates/timezone.tmpl':
UTC
2011-12-21 19:12:06,038 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'dpkg-reconfigure', '-fnoninteractive', '-pcritical', 'tzdata']
2011-12-21 19:12:06,169 INFO :
2011-12-21 19:12:06,169 INFO : Current default time zone: 'Etc/UTC'
2011-12-21 19:12:06,170 INFO : Local time is now: Thu Dec 22 03:12:06 UTC 2011.
2011-12-21 19:12:06,170 INFO : Universal Time is now: Thu Dec 22 03:12:06 UTC 2011.
2011-12-21 19:12:06,170 INFO :
2011-12-21 19:12:06,195 DEBUG : Output from template '/workspace/scratch/VMBuilder-0.12.4/VMBuilder/plugins/ubuntu/templates/locale.tmpl':
LANG="en_US.UTF-8"
2011-12-21 19:12:06,196 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'locale-gen', 'en_US.UTF-8']
2011-12-21 19:12:06,223 DEBUG : Generating locales...
2011-12-21 19:12:07,067 DEBUG : en_US.UTF-8... done
2011-12-21 19:12:07,074 DEBUG : Generation complete.
2011-12-21 19:12:07,074 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'dpkg-reconfigure', '-fnoninteractive', '-pcritical', 'libc6']
2011-12-21 19:12:07,256 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'dpkg-reconfigure', '-fnoninteractive', '-pcritical', 'locales']
2011-12-21 19:12:07,416 DEBUG : Generating locales...
2011-12-21 19:12:07,434 DEBUG : en_US.UTF-8... up-to-date
2011-12-21 19:12:07,437 DEBUG : Generation complete.
2011-12-21 19:12:07,455 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'apt-get', '-y', '--force-yes', 'dist-upgrade']
<SNIP>
2011-12-21 19:12:31,923 DEBUG : Output from template '/workspace/scratch/VMBuilder-0.12.4/VMBuilder/plugins/ubuntu/templates/sources.list.tmpl':
deb http://archive.ubuntu.com/ubuntu lucid main universe multiverse
deb http://archive.ubuntu.com/ubuntu lucid-updates main universe multiverse
deb http://security.ubuntu.com/ubuntu lucid-security main universe multiverse
2011-12-21 19:12:31,923 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'apt-get', 'update']
<SNIP>
2011-12-21 19:12:33,134 DEBUG : ['chroot', '/tmp/tmpevT0kp', 'apt-get', 'clean']
2011-12-21 19:12:33,168 DEBUG : ['umount', '/tmp/tmpevT0kp/proc']
2011-12-21 19:12:33,171 DEBUG : ['umount', '/tmp/tmpevT0kp/dev/pts']
2011-12-21 19:12:33,175 DEBUG : ['umount', '/tmp/tmpevT0kp/dev']
2011-12-21 19:12:33,178 DEBUG : Installing firstboot script /var/tmp/bosh/agent-0.3.1-5463/build/firstboot.sh
2011-12-21 19:12:33,181 DEBUG : Output from template '/workspace/scratch/VMBuilder-0.12.4/VMBuilder/plugins/firstscripts/templates/firstbootrc.tmpl':
#!/bin/sh -e
#execute firstboot.sh only once
if [ ! -e /root/firstboot_done ]; then
if [ -e /root/firstboot.sh ]; then
/root/firstboot.sh
fi
touch /root/firstboot_done
fi
exit 0
2011-12-21 19:12:33,181 DEBUG : Calling post_install method in VMBuilder.plugins.network plugin.
2011-12-21 19:12:33,182 DEBUG : Calling post_install method in VMBuilder.plugins.postinst plugin.
2011-12-21 19:12:33,182 INFO : Copying files specified by copy in: /var/tmp/bosh/agent-0.3.1-5463/build/copy.in
2011-12-21 19:12:33,182 DEBUG : ['cp', '-LpR', '/var/tmp/bosh/agent-0.3.1-5463/instance', '/tmp/tmpevT0kp/var/vcap/bosh/src']
2011-12-21 19:12:33,419 INFO : Executing script: /var/tmp/bosh/agent-0.3.1-5463/build/execscript.sh
<WE CONTROL EVERYTHING BELOW>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment