Compare commits

..

No commits in common. "06b1de99fa0c5f5f30fe9fab65b55f55eeb394a9" and "6be5987f8d4bc64ec4365305df21903a04fc3689" have entirely different histories.

2 changed files with 1 additions and 4 deletions

View File

@ -58,7 +58,6 @@ fi
if [[ "${SERVER}" == server* ]] || [[ "${SERVER}" == mega* ]]; then
openrsync -va --del /home/mischa/vms/ mischa@wm1.obsda.ms:vms/${HOST}/
ssh wm1.obsda.ms "doas userdel -r ${HOST}${1%.txt}"
ssh wm1.obsda.ms "doas groupdel ${HOST}${1%.txt}"
ssh wm1.obsda.ms "doas userdel -r ${HOST}${1%.txt} && doas groupdel ${HOST}${1%.txt}"
openrsync -va --del /home/mischa/vms/ mischa@rx.high5.nl:vms/${HOST}/
fi

View File

@ -34,8 +34,6 @@ my $function = $ARGV[0] || "empty";
my $function_variable = $ARGV[1] || "empty";
my $message = $ARGV[2] || "empty";
$function_variable = substr $function_variable, 0, -4 if ($function_variable =~ m/.txt/);
# define the prices for the different components of the VM
my $base_price = '67';
my %memory_prices = ('2G' => '10', '4G' => '30', '8G' => '70');