How do you keep it from reverting back to DHCP on the next reboot?

Once upon a time, Jayme <jay...@gmail.com> said:
> I found this a bit confusing myself.  I ended up having to do it manually
> by logging in to the VM and changing the IP afterward.
> 
> On Thu, Aug 8, 2019 at 11:21 AM Chris Adams <c...@cmadams.net> wrote:
> 
> > I'm following this guide:
> >
> >
> > https://ovirt.org/documentation/metrics-install-guide/Installing_Metrics_Store.html
> >
> > Specifically, the step "Setup virtual machine static IP and Mac
> > address".  The deploy does a bunch of stuff automatically, so the first
> > opportunity I have to do anything is after the VM is already booted.
> >
> > It seems that having a DHCP server, with matching reverse/forward DNS
> > entries for each IP, is a requirement, and that there's not a way to set
> > the metrics store VM to a static IP (despite having to have a DNS entry
> > pointing to an IP).
> >
> > Once upon a time, Liran Rotenberg <lrote...@redhat.com> said:
> > > Hi Chris,
> > > Run Once option is different from normal run.
> > > For cloud-init you shall need the pre-requirement:
> > > A sealed VM, for example if you wish to create a template:
> > >
> > https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/virtual_machine_management_guide/chap-templates#Sealing_Virtual_Machines_in_Preparation_for_Deployment_as_Templates
> > > Cloud-init service should be installed and enabled on the VM (make
> > > sure before sealing the VM).
> > > Run will consume the cloud-init configuration only if it is the VM's
> > first run.
> > >
> > > Regards,
> > > Liran.
> > >
> > > On Thu, Aug 8, 2019 at 4:07 PM Chris Adams <c...@cmadams.net> wrote:
> > > >
> > > > I am trying to set up the oVirt Metrics Store, which uses cloud-init
> > for
> > > > network settings, so I set the info under the "Initial Run" tab.
> > > > However, it doesn't seem to actually apply the network settings unless
> > I
> > > > "run once" and enable clout-init there.
> > > >
> > > > I haven't used cloud-init before (been on my to-do list to check out) -
> > > > am I missing something?
> > > >
> > > > --
> > > > Chris Adams <c...@cmadams.net>
> > > > _______________________________________________
> > > > Users mailing list -- users@ovirt.org
> > > > To unsubscribe send an email to users-le...@ovirt.org
> > > > 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/users@ovirt.org/message/UKBKKLQQBFDNSVEIKETOD5GQPVVX2LBT/
> > > _______________________________________________
> > > Users mailing list -- users@ovirt.org
> > > To unsubscribe send an email to users-le...@ovirt.org
> > > 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/users@ovirt.org/message/TAATB64XMPFMBV3TGO6BZOQ3RNGX7Q6A/
> >
> > --
> > Chris Adams <c...@cmadams.net>
> > _______________________________________________
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > 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/users@ovirt.org/message/PKZJG2AXVMWDXIT4R65DQ2BJI3OZF3OQ/
> >

> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> 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/users@ovirt.org/message/UDRDSQQ4NJRN36WTKEKAJLQLOMK6B5FG/


-- 
Chris Adams <c...@cmadams.net>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
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/users@ovirt.org/message/HDNTABMK42QW27BBX7FNEISEPF7YEWCH/

Reply via email to