Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vagrant [2016/01/08 04:12]
admin [Custom Vagrant Box Using Veewee]
vagrant [2016/01/08 04:43]
admin [Custom Vagrant Box Using Veewee]
Line 107: Line 107:
 At this stage we have a //​**definitions**//​ directory that was created under //​**/​home/​user/​Vagrant**//​ (our workdir). Inside this directory is another one named //​**debian-8.2-amd64**//​ after our previous ''​%%veewee vbox define%%''​ command options. Inside this //​definitions//​ directory we'll look at two files: At this stage we have a //​**definitions**//​ directory that was created under //​**/​home/​user/​Vagrant**//​ (our workdir). Inside this directory is another one named //​**debian-8.2-amd64**//​ after our previous ''​%%veewee vbox define%%''​ command options. Inside this //​definitions//​ directory we'll look at two files:
  
-//​**definition.rb**//​+__//​**definition.rb**//​__
  
 Change the following lines: Change the following lines:
Line 117: Line 117:
   :iso_md5 => "​8a3c2ad7fd7a9c4c7e9bcb5cae38c135",​   :iso_md5 => "​8a3c2ad7fd7a9c4c7e9bcb5cae38c135",​
 ... ...
-     '​console-keymaps-at/​keymap=fr ', +     '​console-keymaps-at/​keymap=us ', 
-     '​keyboard-configuration/​xkb-keymap=fr ',+     '​keyboard-configuration/​xkb-keymap=us ', 
 +... 
 +     '​kbd-chooser/​method=us ​',
 ... ...
 </​code>​ </​code>​
Line 128: Line 130:
   :iso_src => "​http://​cdimage.debian.org/​debian-cd/​8.2.0/​amd64/​iso-cd/​debian-8.2.0-amd64-netinst.iso",​   :iso_src => "​http://​cdimage.debian.org/​debian-cd/​8.2.0/​amd64/​iso-cd/​debian-8.2.0-amd64-netinst.iso",​
   #:iso_md5 => "​8a3c2ad7fd7a9c4c7e9bcb5cae38c135",​   #:iso_md5 => "​8a3c2ad7fd7a9c4c7e9bcb5cae38c135",​
 +...
 +     '​console-keymaps-at/​keymap=fr ',
 +     '​keyboard-configuration/​xkb-keymap=fr ',
 +...
 +     '​kbd-chooser/​method=fr ',
 ... ...
 </​code>​ </​code>​
Line 133: Line 140:
 The **iso_md5** parameter is commented out as I couldn'​t figure out where to find this for Debian releases :-\ The **iso_md5** parameter is commented out as I couldn'​t figure out where to find this for Debian releases :-\
  
-//​**preseed.cfg**//​+__//​**preseed.cfg**//​__
  
-Change the following ​line:+Change the following ​lines:
 <​code>​ <​code>​
 +...
 +# Keyboard selection.
 +#d-i keymap select us
 +d-i keyboard-configuration/​xkb-keymap select us
 +...
 +d-i partman/​default_filesystem string ext3
 ... ...
 # Individual additional packages to install # Individual additional packages to install
 d-i pkgsel/​include string openssh-server ntp acpid  sudo bzip2 rsync d-i pkgsel/​include string openssh-server ntp acpid  sudo bzip2 rsync
 +...
 +#d-i grub-installer/​bootdev ​ string (hd0,0)
 ... ...
 </​code>​ </​code>​
Line 145: Line 160:
 To this: To this:
 <​code>​ <​code>​
 +...
 +# Keyboard selection.
 +#d-i keymap select us
 +d-i keyboard-configuration/​xkb-keymap select fr
 +...
 +d-i partman/​default_filesystem string ext4
 +...
 # Individual additional packages to install # Individual additional packages to install
 d-i pkgsel/​include string openssh-server ntp acpid sudo bzip2 rsync ruby-dev d-i pkgsel/​include string openssh-server ntp acpid sudo bzip2 rsync ruby-dev
 +...
 +d-i grub-installer/​bootdev ​ string /dev/sda
 +...
 </​code>​ </​code>​