Oracle Linux Virtualization Manager: differenze tra le versioni
Jump to navigation
Jump to search
Riga 20: | Riga 20: | ||
Patch ifup-eth |
Patch ifup-eth |
||
--- ifup-eth. |
--- ifup-eth.orig 2021-02-24 00:41:39.897832270 +0100 |
||
+++ ifup-eth 2021-02-24 00:43:33.091272329 +0100 |
+++ ifup-eth 2021-02-24 00:43:33.091272329 +0100 |
||
@@ -161,12 +161,12 @@ |
@@ -161,12 +161,12 @@ |
Versione delle 20:32, 25 mar 2021
Installazione
Network
#!/bin/bash cd /etc/sysconfig/network-scripts for a in ifcfg-bond0 ifcfg-p2p1 ifcfg-p2p2 ifcfg-p8p1 ifcfg-p8p2 ifcfg-ovirtmgmt; do echo 'NM_CONTROLLED=no' >> $a; done
Bug RHEL/UEK
Oracle Linux 7: After Patching, ifup(8) Returns "./network-functions: line 119: .: /etc/sysconfig/network-scripts/: is a directory" Error When Bringing Up a Bond Interface. (Doc ID 2685282.1)
On Oracle Linux 7, after patching initscripts to version initscripts-9.49.47-1.0.1.el7 or later, ifup(8) now returns errors when bringing up a bond interface.
cd /etc/sysconfig/network-scripts
Patch ifup-eth
--- ifup-eth.orig 2021-02-24 00:41:39.897832270 +0100 +++ ifup-eth 2021-02-24 00:43:33.091272329 +0100 @@ -161,12 +161,12 @@ # so it can actually get an IP. if [ "$ISALIAS" = no ] && is_bonding_device ${DEVICE} ; then BONDMASTERUP=0; - if ! check_device_down ${MASTER}; then + if ! check_device_down ${DEVICE}; then BONDMASTERUP=1 fi - install_bonding_driver ${MASTER} - if [ ${BONDMASTERUP} -eq 1 ] && check_device_down ${MASTER}; then - /sbin/ip link set dev ${MASTER} up + install_bonding_driver ${DEVICE} + if [ ${BONDMASTERUP} -eq 1 ] && check_device_down ${DEVICE}; then + /sbin/ip link set dev ${DEVICE} up fi for device in $(LANG=C grep -l "^space:*MASTER=['\"]\?${DEVICE}['\"]\?\([[:space:]#]\|$\)" /etc/sysconfig/network-scripts/ifcfg-*) ; do
Console
Hard Partitioning
https://www.oracle.com/a/ocom/docs/linux/ol-kvm-hard-partitioning.pdf