Commit 70c39e7e authored by Vivien Alger's avatar Vivien Alger

Modifying functions

parent f1f82220
SLAPOS_CFG_PATH=/etc/opt/slapos/slapos.cfg SLAPOS_CFG_PATH=/etc/opt/slapos/slapos.cfg
function re6st_conf_generation function re6st_conf_generation()
{ {
# Generate re6st configuration # Generate re6st configuration
read -p "Please enter the registry you wish to use for re6st[http://re6stnet.nexedi.com]: " REGISTRY read -p "Please enter the registry you wish to use for re6st[http://re6stnet.nexedi.com]: " REGISTRY
...@@ -12,7 +12,7 @@ function re6st_conf_generation ...@@ -12,7 +12,7 @@ function re6st_conf_generation
effect" effect"
} }
function remove_VPN_conf function remove_VPN_conf()
{ {
# Remove VPN configuration # Remove VPN configuration
if [ -e /etc/openvpn/vifib.conf ]; then if [ -e /etc/openvpn/vifib.conf ]; then
...@@ -27,7 +27,7 @@ function remove_VPN_conf ...@@ -27,7 +27,7 @@ function remove_VPN_conf
fi fi
} }
function modify_interfaces_in_SlapOS_conf function modify_interfaces_in_SlapOS_conf()
{ {
# Modify slapos.cfg to use lo # Modify slapos.cfg to use lo
cp $SLAPOS_CFG_PATH $SLAPOS_CFG_PATH.old cp $SLAPOS_CFG_PATH $SLAPOS_CFG_PATH.old
......
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