Skip to content

Instantly share code, notes, and snippets.

@DeivAstra
Forked from phoracek/setup_ovirtmgmt.sh
Created April 7, 2021 14:29
Show Gist options
  • Save DeivAstra/7d56ed275ef8ae713f07cf5e9df55017 to your computer and use it in GitHub Desktop.
Save DeivAstra/7d56ed275ef8ae713f07cf5e9df55017 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
@DeivAstra
Copy link
Author

Initial fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment