Changes between Version 11 and Version 12 of SystemAdministration/Default_VM_setup


Ignore:
Timestamp:
12/02/15 17:12:13 (8 years ago)
Author:
Sander Maijers
Comment:

ENHANCE: Add Packer and recursive_packer_build installation instructions.

Legend:

Unmodified
Added
Removed
Modified
  • SystemAdministration/Default_VM_setup

    v11 v12  
    2828sudo usermod -aG 'wheel' 'wilelb'
    2929
     30# TODO: why not let them set their own password, and only upload their SSH public key?
    3031## Set passwords for the users: passwd <user>
    3132
     
    4647
    4748## Enable services
    48 systemctl enable docker.service
     49systemctl enable docker
    4950}}}
    5051
    51 Auto start service on boot
    52 {{{
    53 #!sh
    54 
    55 systemctl enable httpd.service
    56 }}}
    57 
    58 Docker storage configuration:
     52== Docker storage configuration:
    5953[http://www.projectatomic.io/blog/2015/06/notes-on-fedora-centos-and-docker-storage-drivers/ 1]
    6054[https://access.redhat.com/articles/1492923 2]
    6155[https://forums.docker.com/t/docker-storage-config-on-centos-7-1/3164 3]
    6256
    63 Install [wiki:collectd]
     57== Install Packer & recursive_packer_build
     58{{{
     59#!sh
     60
     61## Packer
     62sudo mkdir -p /opt/Packer/0.8.6/ &&
     63cd /opt/Packer/0.8.6/ &&
     64sudo curl -O 'https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip' &&
     65sudo unzip 'packer_0.8.6_linux_amd64.zip' &&
     66printf '%s\n' '#!/bin/sh -x' "pathmunge '/opt/Packer/0.8.6/'" | sudo tee '/etc/profile.d/Packer_PATH.sh' &&
     67sudo chmod +x '/etc/profile.d/Packer_PATH.sh' &&
     68## recursive_packer_build
     69cd /srv/ &&
     70git clone 'https://github.com/sanmai-NL/recursive_packer_build' &&
     71printf '%s\n' '#!/bin/sh -x' ". '/srv/recursive_packer_build/recursive_packer_build.sh'" | sudo tee '/etc/profile.d/recursive_packer_build_source.sh' &&
     72sudo chmod +x '/etc/profile.d/recursive_packer_build_source.sh'
     73}}}
     74
     75== Install [wiki:collectd]