remove host_vars
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
template templates/hosthostname ./host_vars
|
||||
t
|
||||
template templates/hosthostname /etc/hostname
|
||||
|
||||
# ------ create user 4server
|
||||
|
||||
|
||||
@@ -15,22 +15,23 @@ rex doas mv /4server/nebula /usr/bin/
|
||||
rex doas mkdir -p /etc/nebula
|
||||
rex doas chmod 700 /etc/nebula
|
||||
|
||||
template templates/nebula/nebula.yml /etc/nebula/config.yml ./host_vars
|
||||
template templates/nebula/host.key /etc/nebula/host.key ./host_vars
|
||||
template templates/nebula/host.crt /etc/nebula/host.crt ./host_vars
|
||||
template templates/nebula/nebula.yml /etc/nebula/config.yml
|
||||
template templates/nebula/host.key /etc/nebula/host.key
|
||||
template templates/nebula/host.crt /etc/nebula/host.crt
|
||||
|
||||
rex doas chmod 700 /etc/nebula
|
||||
|
||||
template templates/init.d/nebula /etc/init.d/nebula ./host_vars/
|
||||
template templates/init.d/nebula /etc/init.d/nebula
|
||||
rex doas chmod 0755 /etc/init.d/nebula
|
||||
rex doas chown root:root /etc/init.d/nebula
|
||||
rex doas rc-update add nebula default
|
||||
rex doas rc-service nebula restart
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
template templates/init.d/ping_service /etc/init.d/ping_service
|
||||
rex doas chmod 0755 /etc/init.d/ping_service
|
||||
rex doas chown root:root /etc/init.d/ping_service
|
||||
rex doas rc-update add ping_service default
|
||||
rex doas rc-service ping_service restart
|
||||
|
||||
|
||||
#! ----------- install ufe
|
||||
|
||||
Reference in New Issue
Block a user