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
  • Select an option

  • Save arioch/8c83d35a9e95d6057b7baa7fed82ba9d to your computer and use it in GitHub Desktop.

Select an option

Save arioch/8c83d35a9e95d6057b7baa7fed82ba9d to your computer and use it in GitHub Desktop.

Revisions

  1. @phoracek phoracek created this gist Aug 9, 2017.
    2 changes: 2 additions & 0 deletions setup_ovirtmgmt.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    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