Enhancement #1883
Base: remove interface rename
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-base | |||
Target version: | v6.4-beta1 | |||
Resolution: | NEEDINFO: |
Description
Renaming is interface is dangerous and can cause problems.
Remove code for interface renaming from interface-update event and test bootstrp-console and network configuration from ui.
Related issues
Associated revisions
Remove code for interface rename. Refs #1883
dnsmasq.conf template: fix green device name handling. Refs #1883
console/configure.pm: assign green role when one NIC only is installed. Refs #1883
History
#1 Updated by Giacomo Sanchietti over 8 years ago
- Status changed from NEW to ON_DEV
- % Done changed from 0 to 30
#2 Updated by Giacomo Sanchietti over 8 years ago
- Status changed from ON_DEV to ON_QA
- % Done changed from 30 to 80
#3 Updated by Giacomo Sanchietti over 8 years ago
- Status changed from ON_QA to MODIFIED
- % Done changed from 80 to 100
To update an existing installation:
sed -i 's/device|green/device|eth0/g' /var/lib/nethserver/db/networks sed -i 's/green=/eth0=/g' /var/lib/nethserver/db/networks rm -rf /etc/udev/rules.d/80-persistent-net.rules mv /etc/sysconfig/network-scripts/ifcfg-green /etc/sysconfig/network-scripts/ifcfg-eth0 sed -i 's/green/eth0/g' /etc/sysconfig/network-scripts/ifcfg-eth0 reboot signal-event interface-update expand-template /etc/dnsmasq.conf service dnsmasq restart
#4 Updated by Davide Principi over 8 years ago
- File configure.pm.patch added
- Status changed from MODIFIED to ON_DEV
- % Done changed from 100 to 30
When only one NIC is present, the prop role=green
is not set by bootstrap-console
. This causes the following failure
localhost console: Can't call method "key" on an undefined value at /usr/share/perl5/vendor_perl/esmith/console/configure.pm line 294
Attached patch fixes the problem.
#5 Updated by Davide Principi over 8 years ago
- Status changed from ON_DEV to ON_QA
- % Done changed from 30 to 80
In nethserver-base-1.2.1-1.ns6.noarch.rpm
(repo nethserver-updates)
#6 Updated by Davide Principi about 8 years ago
- Status changed from ON_QA to MODIFIED
- % Done changed from 80 to 100
#7 Updated by Davide Principi about 8 years ago
- Status changed from MODIFIED to CLOSED