Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/e9e9bbd00f2e7226652dae4bf888094ad5b65875?style=unified&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
7 additions and
7 deletions
@ -251,12 +251,12 @@ msg_info "Creating HAOS VM"
VM_NAME = $( sed -e "s/\_//g" -e " s/. ${ RELEASE_TYPE } .* $// " <<< $FILE )
qm create $VM_ID -agent 1 -bios ovmf -cores ${ CORE_COUNT } -memory ${ RAM_SIZE } -name $VM_NAME -net0 virtio,bridge= vmbr0 \
-onboot 1 -ostype l26 -scsihw virtio-scsi-pci
pvesm alloc $STORAGE $VM ID $DISK0 128 1>& /dev/null
qm importdisk $VM ID ${ FILE %.* } $STORAGE ${ IMPORT_OPT :- } 1>& /dev/null
qm set $VM ID \
pvesm alloc $STORAGE $VM _ ID $DISK0 128 1>& /dev/null
qm importdisk $VM _ ID ${ FILE %.* } $STORAGE ${ IMPORT_OPT :- } 1>& /dev/null
qm set $VM _ ID \
-efidisk0 ${ DISK0_REF } ,size= 128K \
-scsi0 ${ DISK1_REF } ,size= ${ DISK_SIZE } G >/dev/null
qm set $VM ID \
qm set $VM _ ID \
-boot order = scsi0 >/dev/null
set +o errtrace
(
@ -265,8 +265,8 @@ msg_ok "Created HAOS VM ${CL}${BL}${VM_NAME}"
msg_info "Adding Serial Port and Configuring Console"
trap '
warn "Unable to configure serial port. VM is still functional."
if [ " $( qm config $VM ID | sed -n '' /serial0/p'' ) " != "" ] ; then
qm set $VM ID --delete serial0 >/dev/null
if [ " $( qm config $VM _ ID | sed -n '' /serial0/p'' ) " != "" ] ; then
qm set $VM _ ID --delete serial0 >/dev/null
fi
exit
' ERR
@ -292,7 +292,7 @@ msg_ok "Added Serial Port and Configured Console"
qm set $VMID -serial0 socket >/dev/null
)
msg_info "Starting Home Assistant OS VM"
qm start $VM ID
qm start $VM _ ID
msg_ok "Started Home Assistant OS VM"
msg_ok "Completed Successfully!\n"