You can try adding something like this (taken from official cloud-init
docs):

network:
  version: 1
  config:
    - type: route
      destination: 192.168.24.0/24
      gateway: 192.168.24.2
      metric: 2

to "custom script" field in the "initial run" section of the "Run once"
dialog.

Or in the analog part of the VM properties if you want to make it permanent.

In both cases cloud-init must be present (and automatically executed at
boot) in guest.

HTH


Il 09/10/2019 12:41, Tommaso - Shellrent ha scritto:
> Hi,
> 
>     on our system we need to setup a static route to all the vm's.
> 
> How can we do it via cloud-init? it seems to be not possible via the
> ovirt interface
> 
> 
> regards,
> 
> -- 
> Shellrent Logo        
>       
> *Tommaso De Marchi*
> COO Chief Operating Officer - Shellrent S.r.l.
> Tel. 0444321155 <tel:+390444321155> | Fax 04441492177
> Via dell'Edilizia, 19 - 36100 Vicenza
> 
> 
> _______________________________________________
> Users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/[email protected]/message/7GG2FY6R7IG6EOWQSNFQS4LM6JOMOA4V/
> 
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/YNADOMEYTFGDTDTOQI3UQO4BFMFJIM6P/

Reply via email to