unraid / usb-creator

unRAID USB Flash device creator
GNU General Public License v2.0
88 stars 22 forks source link

network.cfg settings doubled on backup restore #23

Open silnocus opened 1 week ago

silnocus commented 1 week ago

After taking a backup of the running flash drive with an existing static IP assignment and flashing that backup to a new drive with USB Creator for windows, the creator prompts for network settings and appears to append those to the existing settings in network.cfg:

Generated network settings

USE_DHCP="no" IPADDR="10.255.255.10""10.255.255.10" NETMASK="255.255.255.0""255.255.255.0" GATEWAY="10.255.255.1""10.255.255.1" BONDING="yes" BRIDGING="yes" DNS_SERVER1="10.255.255.25" DNS_SERVER1="10.255.255.25"

which causes unRAID to fail assigning any network ports on boot. Easily fixed from any text editor, but figured it'd be worth letting you know.