Changes between Version 25 and Version 26 of SystemAdministration/Default_VM_setup


Ignore:
Timestamp:
10/06/16 08:18:40 (8 years ago)
Author:
Sander Maijers
Comment:

content: remove Packer instructions, update multi IP config

Legend:

Unmodified
Added
Removed
Modified
  • SystemAdministration/Default_VM_setup

    v25 v26  
    9898UUID="f6b8e07f-d5c0-4729-bfc2-5f90cbfa06dd"
    9999IPV6INIT=no
    100 BOOTPROTO=dhcp
     100IPV6_AUTOCONF=no
     101BOOTPROTO=static
    101102TYPE=Ethernet
    102 #IPADDR0=37.97.154.156
    103 IPADDR0=37.97.157.49
    104 IPADDR1=37.97.157.50
     103IPADDR0=37.97.154.156
     104IPADDR1=37.97.157.49
     105IPADDR2=37.97.157.50
    105106NETMASK0=255.255.255.0
    106107NETMASK1=255.255.255.0
    107 #GATEWAY0=37.97.154.1
     108NETMASK2=255.255.255.0
     109GATEWAY=37.97.154.1
     110GATEWAY0=37.97.154.1
    108111GATEWAY1=37.97.157.1
     112GATEWAY2=37.97.157.1
    109113}}}
    110 
    111 ## Install Packer & recursive_packer_build ##
    112 {{{
    113 #!sh
    114 
    115 ## Packer
    116 sudo mkdir -p '/opt/Packer/0.8.6/' &&
    117 cd "$_" &&
    118 sudo curl -O 'https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip' &&
    119 sudo unzip 'packer_0.8.6_linux_amd64.zip' &&
    120 printf '%s\n' '#!/bin/sh -x' "pathmunge '/opt/Packer/0.8.6/'" |
    121 sudo tee '/etc/profile.d/Packer_PATH.sh' &&
    122 sudo chmod +x '/etc/profile.d/Packer_PATH.sh' &&
    123 ## recursive_packer_build
    124 cd '/srv/' &&
    125 git clone 'https://github.com/sanmai-NL/recursive_packer_build' &&
    126 printf '%s\n' '#!/bin/sh -x' ". '/srv/recursive_packer_build/recursive_packer_build.sh'" |
    127 sudo tee '/etc/profile.d/recursive_packer_build_source.sh' &&
    128 sudo chmod +x '/etc/profile.d/recursive_packer_build_source.sh'
    129 }}}