DOMAIN=$( echo "${hostname}" | cut -d. -f2,3 )
SIMPLE_HOSTNAME=$( echo "${hostname}" | cut -d. -f1 )
+ROOT_PW_CRYPTED="$6$I0yXrNsT$YU3ekjNLy1KTWLRVNww8YM1xtO8FXgTEFhOANS.HB8baj7CxNMRCoxDQh5oFYkZbli67s4pwZ36aNchD2YL.G0"
+
echo
echo "Some information:"
echo " \$hostname: $hostname"
}
+#-----------------------------------------------------------
+disable_floppy() {
+
+ echo
+ log "Disabling floppy kernel module ..."
+
+ cat <<-EOF >"/etc/modprobe.d/local-blacklist.conf"
+ blacklist floppy
+ EOF
+
+}
+
+#-----------------------------------------------------------
+set_root_pw() {
+
+ echo
+ log "Setting root password ..."
+ usermod -p "${ROOT_PW_CRYPTED}" root
+
+}
+
#-----------------------------------------------------------
main() {
install_ntp
install_openvm_tools
remove_uek_packages
+ disable_floppy
+ set_root_pw
dist_upgrade
install_puppet