On Wednesday, May 25, 2016 at 6:04:59 PM UTC-5, Marek Marczykowski-Górecki 
wrote:
> 
> On Wed, May 25, 2016 at 02:50:44PM -0700, Andrew David Wong wrote:
> > On 2016-05-25 14:26, [email protected] wrote:
> > > The networking configuration is stored in the root file system,
> > > meaning the network needs to be reconfigured in each Template
> > > backed HVMs on boot, as the template and HVM have different IP
> > > addresses. Is there a way around this/am I configuring something
> > > wrong?
> > > 
> > 
> > You can try putting any commands you need in /rw/config/rc.local (and
> > make it executable). All commands in that file will be executed as
> > root each time the VM starts up.
> 
> But /rw/config/rc.local applies only to Linux VMs with Qubes packages
> installed. I *guess* it isn't the case in that HVM.
> Yes, you need to configure IP each time the VM is started, but you can
> automate this. In case of Windows - by installing windows tools (there
> is "network-setup.exe" started automatically which do the job), or in
> case of Linux writing some script to do that, see here:
> https://github.com/QubesOS/qubes-core-agent-linux/blob/master/network/setup-ip
> (this one is for the case of Linux PV VMs).

Yes, /rw does not exist in this instance. I'll write up a script similar to the 
Setup IP script. As I am writing this as part of the HVM Template 
documentation, is there a specific location I should put the script to match 
the rest of Qubes?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/5b1bfed3-361f-43d7-969b-f93391a77ff2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to