-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Wed, May 25, 2016 at 04:17:29PM -0700, [email protected] wrote: > 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?
If you don't have Qubes packages installed, there is no Qubes specific directory. So probably something like /usr/sbin/ will do, then launch it from some startup script (either /etc/rc.local of equivalent, or create proper sysvinit/systemd/upstart/whatever service file). - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXRjMfAAoJENuP0xzK19csqH4H/AsgSnTtmzZYnR2wHDvKMloV 2IwvXD9+bKn5ETp0iiop1w5O3mlZv5pbGfnBjkxm2ydrJh0GKkMQyJIaj9LLurKQ 7x2et4zHBjOKnOqKMOUDaWQ+gTNcVbnKL4VHZWZ2B6ATbR6um3FRbCAYiTU1IwM7 7FIcMy9XKFJFJPSgEt5rDoqxDkSUlQlinj7Cwj9eg3DB052pXzeCIGyEFdgqkvtY ZGuxikNfeNO8ca3ZeA5rHsOtmQza3qDb1qBAx4imYQ5TeVYorfDW3iYYCtPNO50Z f3ni8xkiWLb/afMXjZnfUn9WU9fBnhP7Lcz2ogJkpkAypbuKuw9X5iQwXVLFFgA= =QgQF -----END PGP SIGNATURE----- -- 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/20160525231958.GO2418%40mail-itl. For more options, visit https://groups.google.com/d/optout.
