meow
This commit is contained in:
parent
e0c6926ba0
commit
23bf9ccaa3
3 changed files with 7 additions and 4 deletions
|
@ -1,5 +1,9 @@
|
|||
#!/run/current-system/sw/bin/bash
|
||||
|
||||
echo "qemu-hook: ${1} ${2}" >> /tmp/qemu-hook.log
|
||||
|
||||
set -x
|
||||
|
||||
readonly GUEST_NAME="$1"
|
||||
readonly HOOK_NAME="$2"
|
||||
readonly STATE_NAME="$3"
|
||||
|
@ -54,4 +58,4 @@ if [[ "$HOOK_NAME" == "prepare" && "$STATE_NAME" == "begin" ]]; then
|
|||
start_hook
|
||||
elif [[ "$HOOK_NAME" == "release" && "$STATE_NAME" == "end" ]]; then
|
||||
revert_hook
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
};
|
||||
};
|
||||
hooks.qemu = {
|
||||
"win11" = ./scripts/vm-win11-hook.sh;
|
||||
win11 = ./scripts/vm-win11-hook.sh;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -58,4 +58,4 @@
|
|||
};
|
||||
|
||||
users.extraUsers.regent.extraGroups = [ "libvirtd" ];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue