Andreas Hollmann
2007-Oct-05 12:27 UTC
[Xen-users] How can I use a relative path in my domain config?
Hi, how can i use a relative path in a xen domain config? I tried a path relative to the config file, e. g. disk = [ ''file:images/win_xp_hd.disk,hda,w'', ''file:images/isowin,hdb:cdrom,r'', ''file:images/new.iso,hdd:cdrom,r'', ''file:images/hda.raw,hdc,w''] without success. I tried also a path relative to /var/lib/xen/images and /var/lib/xen and nothing worked for me. How can I use relative paths? Regards, Andreas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Denny Schierz
2007-Oct-05 13:56 UTC
Re: [Xen-users] How can I use a relative path in my domain config?
hi, Andreas Hollmann schrieb:> I tried also a path relative to /var/lib/xen/images and /var/lib/xen and > nothing worked for me. > > How can I use relative paths?only for physical devices, as i know. Why do you need a relative path? cu denny -- Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog: http://www.nopsis.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Denny Schierz
2007-Oct-05 14:38 UTC
Re: [Xen-users] How can I use a relative path in my domain config?
hi, Andreas Hollmann schrieb:> to move a complete Virtual Machine from one location (PC) > to another without changing the configuration.in that case, you have maybe the chance, to use variables. For example: disk = [ ''file:$XENIMAGES/images/win_xp_hd.disk,hda,w'', ''file:$XENIMAGES/images/isowin,hdb:cdrom,r'', ''file:$XENIMAGES/images/new.iso,hdd:cdrom,r'', ''file:$XENIMAGES/images/hda.raw,hdc,w''] Use a wrapper to create the guests and export the new $XENIMAGES/ variable. i never tried it, but ... :-) cu denny -- Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog: http://www.nopsis.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users