== Ganeti Notes == === Remove DRBD from Guest === {{{ gnt-instance modify --disk-template plain }}} === Create Password using Bash === {{{ # Generate password script/function genpw() { local l=${1:-16} local s=${2:-0} local n=${3:-1} [ "$s" == "0" ] && PAT="a-zA-Z0-9" || PAT="a-zA-Z0-9-!@#$%^&*()+{}|:<>?$" cat /dev/urandom | tr -dc "${PAT}" | fold -w ${l} | head -n ${n} } }}}