Changes between Version 11 and Version 12 of SystemAdministration/Default_VM_setup
- Timestamp:
- 12/02/15 17:12:13 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SystemAdministration/Default_VM_setup
v11 v12 28 28 sudo usermod -aG 'wheel' 'wilelb' 29 29 30 # TODO: why not let them set their own password, and only upload their SSH public key? 30 31 ## Set passwords for the users: passwd <user> 31 32 … … 46 47 47 48 ## Enable services 48 systemctl enable docker .service49 systemctl enable docker 49 50 }}} 50 51 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: 59 53 [http://www.projectatomic.io/blog/2015/06/notes-on-fedora-centos-and-docker-storage-drivers/ 1] 60 54 [https://access.redhat.com/articles/1492923 2] 61 55 [https://forums.docker.com/t/docker-storage-config-on-centos-7-1/3164 3] 62 56 63 Install [wiki:collectd] 57 == Install Packer & recursive_packer_build 58 {{{ 59 #!sh 60 61 ## Packer 62 sudo mkdir -p /opt/Packer/0.8.6/ && 63 cd /opt/Packer/0.8.6/ && 64 sudo curl -O 'https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip' && 65 sudo unzip 'packer_0.8.6_linux_amd64.zip' && 66 printf '%s\n' '#!/bin/sh -x' "pathmunge '/opt/Packer/0.8.6/'" | sudo tee '/etc/profile.d/Packer_PATH.sh' && 67 sudo chmod +x '/etc/profile.d/Packer_PATH.sh' && 68 ## recursive_packer_build 69 cd /srv/ && 70 git clone 'https://github.com/sanmai-NL/recursive_packer_build' && 71 printf '%s\n' '#!/bin/sh -x' ". '/srv/recursive_packer_build/recursive_packer_build.sh'" | sudo tee '/etc/profile.d/recursive_packer_build_source.sh' && 72 sudo chmod +x '/etc/profile.d/recursive_packer_build_source.sh' 73 }}} 74 75 == Install [wiki:collectd]