-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Thu, Sep 10, 2020 at 06:41:08PM -0400, Chris Laprise wrote: > Hi, > > I'm exploring a use case where VMs must be restored (using Wyng in this > case) in a Heads busybox environment. This means there is no Qubes toolset > or API available. > > So I'd like Qubes devs to give an opinion and/or advice about the prospect > of manipulating Qubes metadata (esp. qubes.xml) with regular scripting > languages and an xml library. > > My initial assessment is that its not as tricky as it might seem: Qubes uses > standard xml without fancy schemas via Python's xml libraries, and the > records reference each other in a straightforward way where 'domain.name' > functions as the key.
Yes, when qubesd service is not running, it should be safe to modify qubes.xml directly. Just be careful to not break anything - typos, broken references between VMs etc will prevent qubesd to start. And since you're probably going to modify storage, be sure to keep metadata (volume names, sizes etc) in sync. - -- 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----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAl9atTIACgkQ24/THMrX 1yztFQf/TA0jxTOsGWwPuptCrgB5vLQvrlPbtvD/ue73mygKKDVAUaO160mDDwHH drcybcJ6zdVczxpdWmEnzbsDPmvandUAQo/khQllfyHCGrJoayvzym8t4h8D+T1t uREdiQkpgbtiq2Kx9UWnTF+Km6jzAB90dFN1ihpmuMpfNF87DJJacPrguz0EEKFz bZJVOOzJcn7a9oWBv1NrWCFrQEBiswoKlnchUvilSeKVGZaTxgoAlq3dFJpVk/eB JAlkJHCiKVdKEPONHjVLluPU0+OL9wR3hAsKO9ciqocujKhvjyhGRFdjtqictetI fYF8R0iYMtcwhJSsUoW59YmJmxGADQ== =RUcH -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/20200910232227.GC1626%40mail-itl.