# frozen_string_literal: true Veewee::Session.declare({ :cpu_count => '1', :memory_size => '512', :disk_size => '8192', :disk_format => 'VDI', :hostiocache => 'off', :os_type_id => 'OpenBSD', :iso_file => 'OpenBSD-5.9-i386.iso', :iso_src => 'https://www.mirrorservice.org/pub/OpenBSD/5.9/i386/install59.iso', :iso_sha256 => 'd5579f49e1100c3131c674260959ee024b80ad579ea8fff767500652c9691030', :iso_download_timeout => '1000', :boot_wait => '50', :boot_cmd_sequence => [ 'I', # I - install 'us', # set the keyboard 'OpenBSD59-x32', # set the hostname '', # Which nic to config ? [em0] '', # do you want dhcp ? [dhcp] '' * 5, '', # IPV6 for em0 ? [none] '', # Which other nic do you wish to configure [done] 'vagrant', # Pw for root account 'vagrant', 'yes', # Start sshd by default ? [yes] 'no', # Do you want the X window system [yes] 'vagrant', # Setup a user ? 'vagrant', # Full username 'vagrant', # Pw for this user 'vagrant', 'yes', # Do you want to allow sshd for root ? [no] 'GB', # What timezone are you in ? '', # Available disks [sd0] 'W', # Use (W)whole disk or (E)edit MBR ? [whole] 'A', # Use (A)auto layout ... ? [a] '' * 5, '', # location of the sets [cd0] '', # Pathname to sets ? [5.9/i386] '-game59.tgz', # Remove games and X '-xbase59.tgz', '-xshare59.tgz', '-xfont59.tgz', '-xserv59.tgz', 'done', '', 'yes', # CD does not contain SHA256.sig (5.9) Continue without verification? '' * 60, 'done', # Location of sets? 'yes', # Time appears wrong. Set to ...? [yes] '' * 6, 'reboot', '' * 6, ], :kickstart_port => '7122', :kickstart_timeout => '300', :kickstart_file => '', :ssh_login_timeout => '10000', :ssh_user => 'root', :ssh_password => 'vagrant', :ssh_key => '', :ssh_host_port => '7222', :ssh_guest_port => '22', :sudo_cmd => "sh '%f'", :shutdown_cmd => '/sbin/halt -p', :postinstall_files => %w[../openbsd-postinstall.sh], :postinstall_timeout => '10000', :skip_iso_transfer => true, })