Oracle Linux Virtualization Manager: differenze tra le versioni
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| Nessun oggetto della modifica | Nessun oggetto della modifica | ||
| Riga 1: | Riga 1: | ||
| =Installazione= | =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=== | |||
|  cd /etc/sysconfig/network-scripts | |||
| Patch ifup | |||
|  --- ifup-eth.sasiccio	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== | |||
Versione delle 18:27, 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
cd /etc/sysconfig/network-scripts
Patch ifup
--- ifup-eth.sasiccio	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