Skip to content

Instantly share code, notes, and snippets.

@arioch
Forked from phoracek/setup_ovirtmgmt.sh
Created January 20, 2022 08:42
Show Gist options
  • Save arioch/8c83d35a9e95d6057b7baa7fed82ba9d to your computer and use it in GitHub Desktop.
Save arioch/8c83d35a9e95d6057b7baa7fed82ba9d to your computer and use it in GitHub Desktop.
setup ovirtmgmt network with static ip via vdsm-client
echo '{"bondings": {}, "networks": {"ovirtmgmt": {"nic": "eth0", "netmask": "255.255.255.0", "ipaddr": "1.1.1.2", "gateway": "1.1.1.1", "defaultRoute": true}}, "options": {"connectivityCheck": false}}' | vdsm-client -f - Host setupNetworks
vdsm-client Host setSafeNetworkConfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment