Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion RPiOS64-IA-Install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ if [ "$CORRECT" != "y" ]
done
fi

#### MAC ################################################################################################################################
MAC=$(cat /sys/class/net/eth0/address)

#### AGREE TO CHANGES ###################################################################################################################
printf "
$YELLOW#########################################################################################
Expand All @@ -105,6 +108,7 @@ iface vmbr0 inet static
bridge-ports eth0
bridge-stp off
bridge-fd 0
post-up ip link set vmbr0 address $MAC
=========================================================================================
THE HOSTNAMES IN : $YELLOW /etc/hosts $NORMAL WILL BE $RED OVERWRITTEN $NORMAL !!! WITH :
127.0.0.1\tlocalhost
Expand Down Expand Up @@ -183,7 +187,8 @@ iface vmbr0 inet static
gateway $GATEWAY
bridge-ports eth0
bridge-stp off
bridge-fd 0 \n" > /etc/network/interfaces.new
bridge-fd 0
post-up ip link set vmbr0 address $MAC \n" > /etc/network/interfaces.new

#### CONFIGURE PIMOX7 BANNER #############################################################################################################
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.auto.backup
Expand Down