Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
server
virtinstaller
Commits
0f901b62
Commit
0f901b62
authored
Mar 28, 2016
by
Steffen Gebert
Browse files
Update README
parent
92118e5e
Changes
1
Show whitespace changes
Inline
Side-by-side
README.md
View file @
0f901b62
On server
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
```
shell
# kick installation
virt-install-debian
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)
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
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
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment