Skip to content

Commit

Permalink
proxmox: preserve hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Oct 20, 2024
1 parent e40bc3d commit 51732d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions install/proxmox/install-scrypted-proxmox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,13 @@ fi
if [ -n "$RESTORE_HOSTNAME" ]
then
pct set $VMID --hostname $RESTORE_HOSTNAME
if [ "$?" != "0" ]
then
echo ""
echo "pct hostname restore failed"
echo ""
echo "Ignoring... Please verify your container's dns settings."
fi
fi

CONF=/etc/pve/lxc/$VMID.conf
Expand Down

0 comments on commit 51732d0

Please sign in to comment.