#91 Issue closed
: mappings/ip_addresses not correctly used by 31_network_devices.sh¶
Labels: bug
gdha opened issue at 2012-06-01 09:24:¶
Script ./rescue/GNU/Linux/31_network_devices.sh
makes an
interpretation error with the input of /etc/rear/mappings/ip_addresses
++ echo '2012-06-01 11:11:45 New IP-address will be eth1 193.74.130.7/24'
2012-06-01 11:11:45 New IP-address will be eth1 193.74.130.7/24
++ echo 'ip addr add 193.74.130.7/24 dev eth0'
++ echo 'ip link set dev eth0 up'
to fix:
# diff ./rescue/GNU/Linux/31_network_devices.sh /tmp/gratien/31_network_devices.sh
106,107c106,107
< echo "ip addr add $ip_address dev $network_device" >>$netscript
< echo "ip link set dev $network_device up" >>$netscript
---
> echo "ip addr add $ip_address dev $dev" >>$netscript
> echo "ip link set dev $dev up" >>$netscript
still need to commit it (placeholder for myself)
gdha commented at 2012-06-01 17:36:¶
has been tested and it works allright
[Export of Github issue for rear/rear.]