Oracle Linux Virtualization Manager

Da Emigar.
Jump to navigation Jump to search

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