Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Bash/Proxmox Scripts/Ubuntu Cloud Template/build-templates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,10 @@ generate() {
done
[[ "$ANSIBLE_SSH_PUBKEY" != *"AAAA..."* ]] \
|| die "ANSIBLE_SSH_PUBKEY is still the placeholder from shared.conf.example: set your ansible public key in $SHARED_CONF."
[[ "$CI_SSH_KEY" != *"<your-github-user>"* ]] \
|| die "CI_SSH_KEY still has the <your-github-user> placeholder: set your key or GitHub user (or blank it) in $SHARED_CONF."
[[ ! "$WAKATIME_CFG" =~ api_key[[:space:]]*=[[:space:]]*x+[[:space:]]*$ ]] \
|| die "WAKATIME_CFG still has the xxxxxxxx api_key placeholder: set your key (or blank WAKATIME_CFG) in $SHARED_CONF."
[[ "$DOTFILES_RAW" != *"<you>"* ]] \
|| warn "DOTFILES_RAW still has the <you> placeholder: set your dotfiles URL (or blank it) in $SHARED_CONF."
check_mail
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# =============================================================================
# profiles/base.conf - the base template: a server
# Copy to profiles/base.conf and edit. That file is git-ignored.
# ./build-templates.sh --init copies this to profiles/base.conf in your config
# folder (next to shared.conf). Or copy it to profiles/base.conf next to the
# script: *.conf is git-ignored.
#
# A plain create-ubuntu-cloud-template.sh profile (see profile.conf.example
# for every key). build-templates.sh puts the host defaults from shared.conf
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# =============================================================================
# profiles/desktop.conf - the desktop template: GNOME plus RDP
# Copy to profiles/desktop.conf and edit. That file is git-ignored.
# ./build-templates.sh --init copies this to profiles/desktop.conf in your config
# folder (next to shared.conf). Or copy it to profiles/desktop.conf next to the
# script: *.conf is git-ignored.
#
# A plain create-ubuntu-cloud-template.sh profile (see profile.conf.example
# for every key). build-templates.sh puts the host defaults from shared.conf
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# =============================================================================
# profiles/extras.conf - the extras template: a server plus admin tools
# Copy to profiles/extras.conf and edit. That file is git-ignored.
# ./build-templates.sh --init copies this to profiles/extras.conf in your config
# folder (next to shared.conf). Or copy it to profiles/extras.conf next to the
# script: *.conf is git-ignored.
#
# A plain create-ubuntu-cloud-template.sh profile (see profile.conf.example
# for every key). build-templates.sh puts the host defaults from shared.conf
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# =============================================================================
# shared.conf - settings for every template built by build-templates.sh
# Copy to shared.conf and fill in. That file is git-ignored: it holds
# passwords and keys. Anything left out keeps the script default.
# ./build-templates.sh --init copies this to ~/.config/ubuntu-templates/
# shared.conf (outside the git clone). Or copy it to shared.conf next to
# the script: *.conf is git-ignored. It holds passwords and keys. Anything
# left out keeps the script default.
#
# Per-template VM settings (name, tags, packages, snapd, IPv6, desktop,
# RAM, disk) are not here: they live in profiles/<template>.conf.
Expand Down