[xen-tools-discuss] xt-guess-suite-and-mirror on RPM based Dom0s (was: no subject)

Axel Beckert abe at deuxchevaux.org
Fri Feb 8 22:13:37 CET 2013


Hi Fernando,

On Fri, Feb 08, 2013 at 04:49:10PM -0300, Fernando Bacigalupo wrote:
> [root at xenserver01 ~]# xen-resize-guest --hostname=server-01 --add=8Gb
> Couldn't find a useful entry in the sources.list files of the Dom0. Tried:
>   /etc/apt/sources.list
> Couldn't find a useful entry in the sources.list files of the Dom0. Tried:
>   /etc/apt/sources.list
> The guest server-01 appears to be running!
> 
> ------------------------------------------------------------------------------------------------------------------------
> 
> i don't know why the tool search the sources.list.

Thanks for the report.

> i check in the xt-guess-suite-and-mirror, and looks configured to
> work in debian and Ubuntu.

Well, xen-resize-guest shouldn't need to read any sources.list anyway.
It though parses /etc/xen-tools/xen-tools.conf and that may contain
"`xt-guess-suite-and-mirror --suite`" which is executed to get a
parsable xen-tools.conf.

Have to think about how to make that work better.

> anyone has a idea if i need another .conf file? or what?

Edit /etc/xen-tools/xen-tools.conf and edit the line starting with
"dist =" (or similar). Replace "`xt-guess-suite-and-mirror --suite`"
with your preferred distribution.

xt-guess-suite-and-mirror indeed just supports Debian and Ubuntu so
far as I don't have a CentOS or Fedora based Dom0 to test.

Patches to support RPM-based distributions as Dom0 in
xt-guess-suite-and-mirror are very welcome.

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe at deuxchevaux.org  (Mail)
 X   See http://www.asciiribbon.org/              | abe at noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)


More information about the xen-tools-discuss mailing list