Skip to content

Instantly share code, notes, and snippets.

@alistairstead
Created May 13, 2011 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alistairstead/970319 to your computer and use it in GitHub Desktop.
Save alistairstead/970319 to your computer and use it in GitHub Desktop.
Build with veewee
~/vagrant
→ vagrant basebox build ubuntu-10.10-amd64
Verifying the isofile ubuntu-10.10-server-amd64-netboot.iso is ok.
We found no good state so we are destroying the previous machine+disks
VBoxManage unregistervm 'ubuntu-10.10-amd64' --delete
Deleting vm ubuntu-10.10-amd64
Creating vm ubuntu-10.10-amd64 : 256M - 1 CPU - Ubuntu_64
Creating new harddrive of size 10140
VBoxManage createhd --filename '/Users/ali/VirtualBox VMs/ubuntu-10.10-amd64/ubuntu-10.10-amd64.vdi' --size '10140' --format vdi > /dev/null
Attaching disk: /Users/ali/VirtualBox VMs/ubuntu-10.10-amd64/ubuntu-10.10-amd64.vdi
Mounting cdrom: /Users/ali/vagrant/iso/ubuntu-10.10-server-amd64-netboot.iso
Waiting for the machine to boot
Typing:[1]: <Tab>
Typing:[2]: noapic preseed/url=http://10.42.0.167:7122/preseed.cfg
Typing:[3]: debian-installer=en_US auto locale=en_US kbd-chooser/method=us
Typing:[4]: hostname=ubuntu-10.10-amd64
Typing:[5]: fb=false debconf/frontend=noninteractive
Typing:[6]: console-setup/ask_detect=false console-setup/modelcode=pc105 console-setup/layoutcode=us
Typing:[7]: -- <Enter>
Done typing.
Starting a webserver on port 7122
Serving file /Users/ali/vagrant/definitions/ubuntu-10.10-amd64/preseed.cfg
Waiting for ssh login with user vagrant to sshd on port => 7222 to work
^C.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Stopping webserver
vagrant basebox build ubuntu-10.10-amd64 27.98s user 29.89s system 0% cpu 2:13:27.19 total
~/vagrant
→ ssh vagrant@127.0.0.1 -p7222
The authenticity of host '[127.0.0.1]:7222 ([127.0.0.1]:7222)' can't be established.
RSA key fingerprint is 87:4a:3d:58:82:9c:2d:bf:10:df:bf:bd:34:20:e0:4c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[127.0.0.1]:7222' (RSA) to the list of known hosts.
vagrant@127.0.0.1's password:
Linux ubuntu-10 2.6.35-28-server #50-Ubuntu SMP Fri Mar 18 18:59:25 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.10
Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
New release 'natty' available.
Run 'do-release-upgrade' to upgrade to it.
Last login: Fri May 13 12:22:34 2011
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
vagrant@ubuntu-10:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment