mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-31 06:34:17 -04:00
Use community-scripts defaults and tags
Standardize default credentials and template tags to the community-scripts identity. Updates: - install/healthchecks-install.sh: change admin email to admin@community-scripts.com (secret generation unchanged). - install/nodebb-install.sh: update interactive/default admin username, email, and password from helper-scripts to community-scripts. - tools/addon/all-templates.sh and vm/opnsense-vm.sh: replace proxmox-helper-scripts tags with community-script for new templates/VMs. This aligns branding across installers and VM/template creation.
This commit is contained in:
@@ -35,7 +35,7 @@ PG_DB_NAME="healthchecks_db" PG_DB_USER="hc_user" PG_DB_PASS=$(openssl rand -bas
|
||||
|
||||
msg_info "Setup Keys (Admin / Secret)"
|
||||
SECRET_KEY="$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | cut -c1-32)"
|
||||
ADMIN_EMAIL="admin@helper-scripts.local"
|
||||
ADMIN_EMAIL="admin@community-scripts.com"
|
||||
ADMIN_PASSWORD="$PG_DB_PASS"
|
||||
{
|
||||
echo "healthchecks Admin Email: $ADMIN_EMAIL"
|
||||
|
||||
@@ -91,16 +91,16 @@ expect "Format: mongodb://*" {
|
||||
send "$MONGO_CONNECTION_STRING\r"
|
||||
}
|
||||
expect "Administrator username" {
|
||||
send "helper-scripts\r"
|
||||
send "community-scripts\r"
|
||||
}
|
||||
expect "Administrator email address" {
|
||||
send "helper-scripts@local.com\r"
|
||||
send "admin@community-scripts.com\r"
|
||||
}
|
||||
expect "Password" {
|
||||
send "helper-scripts\r"
|
||||
send "community-scripts\r"
|
||||
}
|
||||
expect "Confirm Password" {
|
||||
send "helper-scripts\r"
|
||||
send "community-scripts\r"
|
||||
}
|
||||
expect eof
|
||||
EOF
|
||||
|
||||
@@ -116,7 +116,7 @@ fi
|
||||
PCT_OPTIONS="
|
||||
-features keyctl=1,nesting=1
|
||||
-hostname $NAME
|
||||
-tags proxmox-helper-scripts
|
||||
-tags community-script
|
||||
-onboot 0
|
||||
-cores 2
|
||||
-memory 2048
|
||||
|
||||
@@ -737,7 +737,7 @@ done
|
||||
|
||||
msg_info "Creating a OPNsense VM"
|
||||
qm create $VMID -agent 1${MACHINE} -tablet 0 -localtime 1 -bios ovmf${CPU_TYPE} -cores $CORE_COUNT -memory $RAM_SIZE \
|
||||
-name $HN -tags proxmox-helper-scripts -net0 virtio,bridge=$BRG,macaddr=$MAC$VLAN$MTU -onboot 1 -ostype l26 -scsihw virtio-scsi-pci
|
||||
-name $HN -tags community-script -net0 virtio,bridge=$BRG,macaddr=$MAC$VLAN$MTU -onboot 1 -ostype l26 -scsihw virtio-scsi-pci
|
||||
pvesm alloc $STORAGE $VMID $DISK0 4M 1>&/dev/null
|
||||
qm importdisk $VMID ${FILE} $STORAGE ${DISK_IMPORT:-} 1>&/dev/null
|
||||
qm set $VMID \
|
||||
|
||||
Reference in New Issue
Block a user