[virt-tools-list] [virt-manager PATCH] virt-install: enable container to use "--boot init=INITPATH"

Chen Hanxiao chenhanxiao at cn.fujitsu.com
Thu Jan 30 02:25:32 UTC 2014



> -----Original Message-----
> From: Cole Robinson [mailto:crobinso at redhat.com]
> Sent: Thursday, January 30, 2014 5:32 AM
> >>What's the command line that's breaking here? We should add a test case
> for
> >>it. And maybe there's another way to solve it, like moving the virt_type ==
> >>"exe" check up or similar.
> >>
> >
> > Use commnd from examples in man page, but replace --init to --boot
> init=INIPATH
> >
> > virt-install  --connect lxc:///  --name httpd_guest   --memory 512
> --vcpus 2   --boot init=/usr/bin/httpd
> >
> 
> I think just moving the ContainerInstaller check above the --boot check should
> fix it.
Thanks for your hint.

Chen






More information about the virt-tools-list mailing list