Compare commits
3 Commits
v0.0.6d-em
...
v0.0.6g-em
Author | SHA1 | Date | |
---|---|---|---|
b5abdda49d | |||
2b5fc38edb | |||
dd8bb815cc |
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
- name: installation de docker...
|
- name: installation de docker...
|
||||||
command: curl https://releases.rancher.com/install-docker/20.10.sh | sh
|
shell: curl https://releases.rancher.com/install-docker/20.10.sh | sh
|
||||||
|
|
||||||
- name: installation de k3s...
|
- name: installation de k3s...
|
||||||
command: curl -sfL https://get.k3s.io | sh -s - --docker
|
shell: curl -sfL https://get.k3s.io | sh -s - --docker
|
||||||
|
|
||||||
- name: activationde k3s au démarrage...
|
- name: activationde k3s au démarrage...
|
||||||
systemd:
|
systemd:
|
||||||
|
@ -9,7 +9,7 @@ allow-hotplug enp0s3
|
|||||||
iface enp0s3 inet static
|
iface enp0s3 inet static
|
||||||
address 192.168.99.120/24
|
address 192.168.99.120/24
|
||||||
|
|
||||||
# Réseau n-dmz-lb
|
# Réseau n-dmz
|
||||||
allow-hotplug enp0s8
|
allow-hotplug enp0s8
|
||||||
iface enp0s8 inet static
|
iface enp0s8 inet static
|
||||||
address 192.168.100.20/24
|
address 192.168.100.20/24
|
||||||
|
18
scripts/addint.s-peertube
Executable file
18
scripts/addint.s-peertube
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
nom=s-peertube
|
||||||
|
|
||||||
|
# N-adm (enp0s3)
|
||||||
|
|
||||||
|
VBoxManage modifyvm $nom --nic1 intnet
|
||||||
|
VBoxManage modifyvm $nom --intnet1 "n-adm"
|
||||||
|
VBoxManage modifyvm $nom --nictype1 82540EM
|
||||||
|
VBoxManage modifyvm $nom --cableconnected1 on
|
||||||
|
VBoxManage modifyvm $nom --nicpromisc1 allow-all
|
||||||
|
|
||||||
|
# N-dmz (enp0s8)
|
||||||
|
|
||||||
|
VBoxManage modifyvm $nom --nic2 intnet
|
||||||
|
VBoxManage modifyvm $nom --intnet2 "n-dmz"
|
||||||
|
VBoxManage modifyvm $nom --nictype2 82540EM
|
||||||
|
VBoxManage modifyvm $nom --cableconnected2 on
|
||||||
|
VBoxManage modifyvm $nom --nicpromisc2 allow-all
|
@ -110,6 +110,8 @@ elif [[ "${vm}" == "s-lb-bd" ]] ; then
|
|||||||
create_if "${vm}" "n-adm" "n-dmz-db"
|
create_if "${vm}" "n-adm" "n-dmz-db"
|
||||||
elif [[ "${vm}" == "s-nas" ]] ; then
|
elif [[ "${vm}" == "s-nas" ]] ; then
|
||||||
create_if "${vm}" "n-adm" "n-dmz-db"
|
create_if "${vm}" "n-adm" "n-dmz-db"
|
||||||
|
elif [[ "${vm}" == "s-peertube" ]] ; then
|
||||||
|
./addint.s-peertube
|
||||||
elif [[ "${vm}" == "r-vp1" ]] ; then
|
elif [[ "${vm}" == "r-vp1" ]] ; then
|
||||||
./addint.r-vp1
|
./addint.r-vp1
|
||||||
elif [[ "${vm}" == "r-vp2" ]] ; then
|
elif [[ "${vm}" == "r-vp2" ]] ; then
|
||||||
|
Reference in New Issue
Block a user