...
 
Commits (2)
......@@ -136,8 +136,8 @@ function construct_ug_static_ipv46
if [[ "${is_ipv6_enabled}" = "True" ]]; then
echo "# IPV6 : enabled"
echo "IPv6AcceptRA=false"
echo "Address=${ipv6_address_n_lenmask}"
echo "Gateway=${ipv6_gateway}"
echo "Address=${ipv6_address_n_lenmask,,}"
echo "Gateway=${ipv6_gateway,,}"
echo ""
else
echo "# IPV6 : disabled"
......@@ -228,6 +228,12 @@ function clean_up
deluser --remove-home vmgars | tab 3
}
function expand_disk
{
pb "expand_disk"
/usr/local/bin/ug-expand-disk
}
new_hostname="$1"
minion_id="$2"
is_ipv4_enabled="$3"
......@@ -246,4 +252,6 @@ change_vg_name
echo ""
change_network
echo ""
expand_disk
echo ""
clean_up