Loading src/network.sh +2 −1 Original line number Diff line number Diff line Loading @@ -216,7 +216,8 @@ getInfo() { VM_NET_MAC=$(echo "$HOST" | md5sum | sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:11:32:\3:\4:\5/') fi VM_NET_MAC="${VM_NET_MAC,,//-/:}" VM_NET_MAC="${VM_NET_MAC,,}" VM_NET_MAC="${VM_NET_MAC//-/:}" if [[ ${#VM_NET_MAC} == 12 ]]; then m="$VM_NET_MAC" Loading src/power.sh +4 −1 Original line number Diff line number Diff line Loading @@ -166,9 +166,12 @@ _graceful_shutdown() { finish "$code" && return "$code" } PROCESS="${APP,,}" PROCESS="${PROCESS// /-}" MON_OPTS="\ -pidfile $QEMU_PID \ -name ${APP,,// /-},process=${APP,,// /-},debug-threads=on \ -name $PROCESS,process=$PROCESS,debug-threads=on \ -monitor telnet:localhost:$QEMU_PORT,server,nowait,nodelay" if [[ "$CONSOLE" != [Yy]* ]]; then Loading Loading
src/network.sh +2 −1 Original line number Diff line number Diff line Loading @@ -216,7 +216,8 @@ getInfo() { VM_NET_MAC=$(echo "$HOST" | md5sum | sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:11:32:\3:\4:\5/') fi VM_NET_MAC="${VM_NET_MAC,,//-/:}" VM_NET_MAC="${VM_NET_MAC,,}" VM_NET_MAC="${VM_NET_MAC//-/:}" if [[ ${#VM_NET_MAC} == 12 ]]; then m="$VM_NET_MAC" Loading
src/power.sh +4 −1 Original line number Diff line number Diff line Loading @@ -166,9 +166,12 @@ _graceful_shutdown() { finish "$code" && return "$code" } PROCESS="${APP,,}" PROCESS="${PROCESS// /-}" MON_OPTS="\ -pidfile $QEMU_PID \ -name ${APP,,// /-},process=${APP,,// /-},debug-threads=on \ -name $PROCESS,process=$PROCESS,debug-threads=on \ -monitor telnet:localhost:$QEMU_PORT,server,nowait,nodelay" if [[ "$CONSOLE" != [Yy]* ]]; then Loading