These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
export DEBIAN_FRONTEND=noninteractive | |
### Function to create a default user | |
create_default_user() { | |
local password password_confirm password_hash | |
# Check if user exists |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Function to check if a command exists | |
commandExists() { | |
if command -v "$1" &>/dev/null; then | |
#msg "Command $1 exists\n" "success" | |
return 0 # Command exists | |
else | |
msg "Command $1 does not exist\n" "danger" | |
return 1 # Command does not exist |
OlderNewer