README 686 Bytes
Newer Older
Server Team's avatar
Server Team committed
1
2
3
On server
==============

Server Team's avatar
Server Team committed
4
edit /root/machine.conf and update variables
Server Team's avatar
Server Team committed
5
6
7
8

# kick installation
virt-install-debian

Server Team's avatar
Server Team committed
9
10
export DOMAIN=srvXXX

Server Team's avatar
Server Team committed
11
# login and create /root/.ssh
Server Team's avatar
Server Team committed
12
# install curl (until its part of base install)
Server Team's avatar
Server Team committed
13

Server Team's avatar
Server Team committed
14
# shutdown
Server Team's avatar
Server Team committed
15
virsh shutdown $DOMAIN
Server Team's avatar
Server Team committed
16
17

# copy ssh-keys of admins into machine
Server Team's avatar
Server Team committed
18
virt-copy-in -d $DOMAIN authorized_keys /root/.ssh/
Server Team's avatar
Server Team committed
19

Server Team's avatar
Server Team committed
20
# start again
Server Team's avatar
Server Team committed
21
22
23
24
virsh start $DOMAIN

# set domain to autostart
virsh autostart $DOMAIN
Server Team's avatar
Server Team committed
25

Server Team's avatar
Server Team committed
26
27
On your workstation (chef master node)
========================================
Server Team's avatar
Server Team committed
28
29

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
Server Team's avatar
Server Team committed
30
31

# cleanup root/.ssh/authorized_keys