Nitpicks and update project.
This commit is contained in:
parent
042cdb5b7e
commit
f3ec53521d
@ -1 +1 @@
|
|||||||
Subproject commit 318e89afe5d6ba506cf97c719537d1ecb3583c46
|
Subproject commit 76b480a0535e228d8e8fd96abf606bf997ccacf6
|
@ -373,7 +373,7 @@ for VIRTUAL_MACHINE in $VMS_TO_PROVISION; do
|
|||||||
MAC_ADDRESS_TO_PROVISION="$LNPLAY_SERVER_MAC_ADDRESS"
|
MAC_ADDRESS_TO_PROVISION="$LNPLAY_SERVER_MAC_ADDRESS"
|
||||||
|
|
||||||
elif [ "$VIRTUAL_MACHINE" = "$BASE_IMAGE_VM_NAME" ]; then
|
elif [ "$VIRTUAL_MACHINE" = "$BASE_IMAGE_VM_NAME" ]; then
|
||||||
export FQDN="$BASE_IMAGE_VM_NAME"
|
FQDN="$BASE_IMAGE_VM_NAME"
|
||||||
else
|
else
|
||||||
echo "ERROR: VIRTUAL_MACHINE not within allowable bounds."
|
echo "ERROR: VIRTUAL_MACHINE not within allowable bounds."
|
||||||
exit
|
exit
|
||||||
|
@ -67,4 +67,3 @@ Signed-By: /etc/apt/keyrings/zabbly.asc
|
|||||||
EOF'
|
EOF'
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install incus -y --no-install-recommends
|
apt-get install incus -y --no-install-recommends
|
||||||
|
|
||||||
|
22
publish.sh
22
publish.sh
@ -1,22 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -eu
|
|
||||||
cd "$(dirname "$0")"
|
|
||||||
|
|
||||||
# this script will tag the repo then push it to origin
|
|
||||||
TAG_NAME="$(head -n 1 ./version.txt)"
|
|
||||||
TAG_MESSAGE="Creating tag $TAG_NAME on $(date)."
|
|
||||||
|
|
||||||
# create the git tag.
|
|
||||||
if ! git tag | grep -q "$TAG_NAME"; then
|
|
||||||
git tag -a "$TAG_NAME" -m "$TAG_MESSAGE" -s
|
|
||||||
fi
|
|
||||||
|
|
||||||
## note this will only work if you have permissions to update HEAD on https://git.sovereign-stack.org/ss/sovereign-stack.git
|
|
||||||
RESPONSE=
|
|
||||||
read -r -p " Would you like to push this to the main Sovereign Stack repo? (y) ": RESPONSE
|
|
||||||
if [ "$RESPONSE" = "y" ]; then
|
|
||||||
# optional; push to remote
|
|
||||||
git push --set-upstream origin --all
|
|
||||||
git push --set-upstream origin --tags
|
|
||||||
fi
|
|
@ -1 +0,0 @@
|
|||||||
23.08
|
|
Loading…
Reference in New Issue
Block a user