Sha256: 145f3f48b25a6ad14f8974d4c23103401b748803010cde94b90ed90accade7f4

Contents?: true

Size: 1.46 KB

Versions: 23

Compression:

Stored size: 1.46 KB

Contents

# Many thanks to @draco2002
# http://dracosplace.com/veewee_and_freebsd
#Based on https://gist.github.com/911058

Veewee::Definition.declare( {
  :cpu_count => '1', :memory_size=> '768',
  :disk_size => '10140', :disk_format => 'VDI',:hostiocache => 'off',
  :os_type_id => 'FreeBSD',
  :iso_file => "PCBSD8.2-x86-bootonly.iso",
  :iso_src => "http://mirrors.isc.org/pub/pcbsd/8.2/i386/PCBSD8.2-x86-bootonly.iso",
  :iso_md5 => "548646b9d1042a162f769bc280149417",
  :iso_download_timeout => "1000",
  :boot_wait => "70",:boot_cmd_sequence => [
        '<KillX>',
        '<Enter>',
        'dhclient em0<Enter>',
        'echo "waiting for 25 seconds"',
        'sleep 25;echo "Lets Get the File";fetch "http://%IP%:%PORT%/pcinstall.fbg.cfg";sleep 2;',
        'echo \'echo sshd_enable=\"YES\" >> $FSMNT/etc/rc.conf\' > /root/activate-ssh.sh ; cat /root/activate-ssh.sh<Enter>',
        'chmod +x /root/activate-ssh.sh<Enter>',
        'echo "Hope i got the file";/usr/PCBSD/pc-sysinstall/pc-sysinstall -c /root/pcinstall.fbg.cfg<Enter>',
        'reboot<Enter>'
    ],
  :kickstart_port => "7122", :kickstart_timeout => "10000",:kickstart_file => "pcinstall.fbg.cfg",
  :ssh_login_timeout => "10000",:ssh_user => "vagrant", :ssh_password => "vagrant",:ssh_key => "",
  :ssh_host_port => "7222", :ssh_guest_port => "22",
  :sudo_cmd => "cat '%f'|su -",
  :shutdown_cmd => "shutdown -p now",
  :postinstall_files => [ "postinstall.sh"],:postinstall_timeout => "10000"
}
                          )

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
veewee-0.4.3 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.4.2 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.4.1 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.4.0 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.12 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.11 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.10 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.9 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-atlassian-0.3.11 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.7 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.6 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.5 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.4 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.3 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.2 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.1 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.0.beta2 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.0.beta1 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.0.alpha9 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb
veewee-0.3.0.alpha8 templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb