[xen-tools] Re: Looks like nothing left to do

Steve Kemp steve at steve.org.uk
Thu Feb 22 15:35:03 CET 2007


On Sat, Feb 17, 2007 at 09:22:28PM +0000, Steve Kemp wrote:

>   I figured "--role-args='--foo --bar'" might be an option since
>  it allows multiple arguments to be specified, but it feels
>  unwieldy.  Almost as bad is "--role-args='foo=bar,baz=xxx'"

  Since there was no comment pro, or con, at all I will use
 --role=blah --role-args="foo,bar=bz".  Since this is new it
 shouldn't affect anybody using their own custom role scripts.
 It just gives a little more flexability for the future.

  However there will be some other changes to the next release
 which will be visible.

  The following command line arguments will be removed:

    --copy
    --debootstrap
    --rpmstrap
    --tar

  Instead the installation type will be specified via:

    --install-method=[ copy | debootstrap | rpmstrap | tar | is ]

  I might or might not leave the other options as aliases, so that
 --rpmstrap will be treated as --install-method=rpmstrap, I'm not
 too sure just yet.  If there are strong comments please speak up.

 (I'm not averse to supporting old arguments, but some are more
 important than others, and I figure this is most likely only going
 to be set in the configuration file and otherwise ignored.)

  The reason for this is that I wish to split out the methods so
 that new ones can be added/removed seperately.  xt-install-image
 will either be removed or severely cut down so that the
 real work will be carried out by a script:

    /usr/lib/xen-tools/installers/{ rpmstrap debootstrap tar copy }

  (This is still to be decided .. but I think the idea is sound. I
 wish to use a new installation type personally, and I wish to allow
 others to add/update these methods easily.  eg.  Install via and
 ftp fetch of a ghost4unix image, for example.)

  The other additional thing I will be adding is support for
 giving the new instance a new (local) user the ability to 
 control it, via xen-shell.

  I imagine this will work via:

    xen-create-image --hostname=blah ... .. --admins=steve,bob

  This will create the user "bob" and give them a login to the dom0
 system, making them login to the xen-shell to control their instance.
 (Ditto for Steve.)

  Comments on this again welcome.

Steve
-- 







More information about the xen-tools-discuss mailing list