Commit 0f901b62 authored by Steffen Gebert's avatar Steffen Gebert
Browse files

Update README

parent 92118e5e
On server
==============
edit /root/machine.conf and update variables
* edit `/root/machine.conf` and update variables
* configure only the internal IP addresses (applied to `eth0`).
* create VM:
```shell
# kick installation
virt-install-debian
export DOMAIN=srvXXX
# login and create /root/.ssh
# install curl (until its part of base install)
# shutdown
virsh shutdown $DOMAIN
# copy ssh-keys of admins into machine
virt-copy-in -d $DOMAIN authorized_keys /root/.ssh/
# start again
virsh start $DOMAIN
# set domain to autostart
virsh autostart $DOMAIN
```
* add additional network interfaces, when needed
Chef Bootstrapping (On Your Workstation)
========================================
* When bootstrapping a publicly reachable VM
```shell
knife bootstrap --bootstrap-version 12.5.1 -N srvXXX.typo3.org -E production -r "recipe[t3-base]" -E production --ssh-user=root 46.4.xxx.yyy
# cleanup root/.ssh/authorized_keys
```
* When bootstrapping a VM in the private network:
```shell
knife bootstrap --bootstrap-version 12.5.1 -N srv171-test.typo3.org -E production -r "recipe[t3-base]" --ssh-gateway username@msXX.typo3.org 10.186.2.xx
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment