X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Frevamp_cakelampvm.sh;h=9c83a588a97d90823ce2dc3f9001e31a14b1ecab;hb=23a54a83032f2102030c23ae98d34aea75bb4855;hp=37440de33c9d6dc27a0e105b9a803aa51184cc24;hpb=85a5dae6b705a8179e82288e16310527157df7c1;p=feisty_meow.git diff --git a/scripts/site_avenger/revamp_cakelampvm.sh b/scripts/site_avenger/revamp_cakelampvm.sh index 37440de3..9c83a588 100644 --- a/scripts/site_avenger/revamp_cakelampvm.sh +++ b/scripts/site_avenger/revamp_cakelampvm.sh @@ -22,7 +22,12 @@ source "$FEISTY_MEOW_SCRIPTS/system/common_sysadmin.sh" # new requirement is to get the sql root password, since we need to do some sql db configuration. echo -n "Please enter the MySQL root account password: " +# turn off echo but remember former setting. +stty_orig=`stty -g` +stty -echo read mysql_passwd +# turn echo back on. +stty $stty_orig if [ -z "$mysql_passwd" ]; then echo "This script must have the sql root password to proceed." exit 1 @@ -47,7 +52,8 @@ sep echo "Adding users to the mysql database." -mysql -u root -p"$mysql_passwd" </dev/null < "/tmp/install_bluefish-$(logname).log" test_or_continue "installing bluefish editor" @@ -213,7 +221,7 @@ else ; in the domain. this forces any other sites besides the ones above to route ; to the actual vm IP address, which currently is singular and very fixated. * IN A 10.28.42.20 - IN HINFO "linux vm" "ubuntu" + IN HINFO \"linux vm\" \"ubuntu\" ;;;;;; @@ -277,6 +285,9 @@ echo " Thanks for revamping your cakelampvm. :-) + +You may want to update your current shell's feisty meow environment by typing: + reconfigure_feisty_meow " ##############