Richard W.M. Jones
2015-Jul-30 08:04 UTC
Re: [Libguestfs] \n didn't lead to a new line while using remote model
On Thu, Jul 30, 2015 at 09:45:38AM +0800, Yu Liu wrote:> Ah, I see. Many thanks. > > BTW, I see a function that it can add a ssh remote image, like > guestfish -a ssh://root@example.com/path/disk.img, it's really > powerful, but why couldn't I secceed? > > #guestfish -a http://slcn03cn15.us.oracle.com/packages/test1.img > http://slcn03cn15.us.oracle.com/packages/test1.img: No such file or > directory> >>libguestfs-1.20.11-11.el6.x86_64For a couple of reasons: (1) This feature wasn't available in 1.20 (added in 1.22). (2) We disable this feature in RHEL 7. It works upstream and in Fedora & Debian. This is because we don't want to support it for RHEL customers. OEL is free to enable it if you want to support that -- it requires changes to the block device whitelist in the qemu spec file, as well as removing the disabling patch from the libguestfs spec file (0098-RHEL-7-Disable-unsupported-remote-drive-protocols-RH.patch). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
Yu Liu
2015-Jul-30 08:47 UTC
Re: [Libguestfs] \n didn't lead to a new line while using remote model
Well, is it possible to enable it with 1.20 on OEL6.6? On 2015/7/30 16:04, Richard W.M. Jones wrote:> On Thu, Jul 30, 2015 at 09:45:38AM +0800, Yu Liu wrote: >> Ah, I see. Many thanks. >> >> BTW, I see a function that it can add a ssh remote image, like >> guestfish -a ssh://root@example.com/path/disk.img, it's really >> powerful, but why couldn't I secceed? >> >> #guestfish -a http://slcn03cn15.us.oracle.com/packages/test1.img >> http://slcn03cn15.us.oracle.com/packages/test1.img: No such file or >> directory >>>> libguestfs-1.20.11-11.el6.x86_64 > For a couple of reasons: > > (1) This feature wasn't available in 1.20 (added in 1.22). > > (2) We disable this feature in RHEL 7. It works upstream and in > Fedora & Debian. > > This is because we don't want to support it for RHEL customers. OEL > is free to enable it if you want to support that -- it requires > changes to the block device whitelist in the qemu spec file, as well > as removing the disabling patch from the libguestfs spec file > (0098-RHEL-7-Disable-unsupported-remote-drive-protocols-RH.patch). > > Rich. >-- Thanks! Luis Liu
Richard W.M. Jones
2015-Jul-30 08:49 UTC
Re: [Libguestfs] \n didn't lead to a new line while using remote model
On Thu, Jul 30, 2015 at 04:47:57PM +0800, Yu Liu wrote:> Well, is it possible to enable it with 1.20 on OEL6.6?No, the feature wasn't implemented until 1.22. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Seemingly Similar Threads
- Re: \n didn't lead to a new line while using remote model
- Re: \n didn't lead to a new line while using remote model
- Re: \n didn't lead to a new line while using remote model
- Re: \n didn't lead to a new line while using remote model
- Fw: domU network problem , 10/30 progress