mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-09-04 03:05:32 +00:00
ci: storage VM moves to DHCP and is addressed by FQDN (1/2)
The repo stops holding opinions about CI VLAN addressing: the VM boots via DHCP with hostname pvetest-storage (deterministic MAC for an optional reservation), registers in the operator's CI DNS zone, and everything addresses it by STORAGE_VM_FQDN. Replaces the static-IP + explicit-DNS variables. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
7872f08102
commit
25746a94e3
@@ -3,12 +3,12 @@
|
||||
# iSCSI target, and the HTTP answer server the PVE auto-installers fetch
|
||||
# from. Idempotent — safe to re-run against an already-configured VM.
|
||||
#
|
||||
# Usage: setup-storage-server.sh <storage-vm-ip> <ssh-private-key-path> <iscsi-iqn> <answer-dir>
|
||||
# Usage: setup-storage-server.sh <storage-vm-host> <ssh-private-key-path> <iscsi-iqn> <answer-dir>
|
||||
# <answer-dir> is the local directory holding default.toml and answers/.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
STORAGE_IP="${1:?Usage: setup-storage-server.sh <ip> <ssh-key> <iqn> <answer-dir>}"
|
||||
STORAGE_IP="${1:?Usage: setup-storage-server.sh <host> <ssh-key> <iqn> <answer-dir>}"
|
||||
SSH_KEY="${2:?missing SSH private key path}"
|
||||
ISCSI_IQN="${3:?missing iSCSI IQN}"
|
||||
ANSWER_DIR="${4:?missing answer directory}"
|
||||
|
||||
Reference in New Issue
Block a user