Displaying 20 results from an estimated 10000 matches similar to: "Re: \n didn't lead to a new line while using remote model"
2015 Jul 30
2
Re: \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
>
2015 Jul 30
0
Re: \n didn't lead to a new line while using remote model
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
On 2015/7/29 20:42, Richard W.M. Jones wrote:
> On
2015 Jul 30
0
Re: \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
2013 Mar 06
2
multi-line content= construct for puppet resource file command
Hello all,
How does one enter multi-line content using ''puppet resource file ...''
at the command line?
For example, I am trying to create a file called /tmp/hw.txt with two
lines of content:
$ cat /tmp/hw.txt
hello
world
This does not work:
$ puppet resource file hello_world \
path=/tmp/hw.txt \
ensure=file \
content="hello\nworld\n"
This does, but use
2014 Mar 13
2
--rbd volume access--
http://rwmj.wordpress.com/2013/03/12/accessing-ceph-rbd-sheepdog-etc-using-libguestfs/#comment-8806
I came across this link and and i was able to retrieve the rbd image.
$ guestfish
><fs> set-attach-method appliance
><fs> add-drive /dev/null
><fs> config -set drive.hd0.file=rbd:pool/volume
><fs> run
I was able to retrieve file from rbd image using the above
2014 Mar 13
2
Re: --rbd volume access--
i will test it out and will update you..
Thankyou so much for your reply
kind regards
Shumaila Naeem
Software Engineer , Ovex Technologies
On Thu, Mar 13, 2014 at 5:15 PM, Richard W.M. Jones <rjones@redhat.com>wrote:
> On Thu, Mar 13, 2014 at 03:06:17PM +0500, Shumaila Naeem wrote:
> >
>
2011 Apr 12
0
[ANNOUNCE] libguestfs 1.10.0 - tools for accessing and modifying VM disk images
I'm happy to announce that after 5 months of development, the new
stable version of libguestfs is available. libguestfs is a set of
tools and a library for accessing, creating and modifying the contents
of virtual machines and disk images.
Home page: http://libguestfs.org/
Binary packages for:
Fedora: http://koji.fedoraproject.org/koji/packageinfo?packageID=8391
2011 Nov 24
1
[PATCH] New API: md-stop for stopping MD devices
This API is used to stop a md device.
When we want to move a device to another md array, we should
stop the md device which contained this device first.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/md.c | 16 ++++++++++++++++
generator/generator_actions.ml | 9 +++++++++
regressions/test-mdadm.sh | 14 ++++++++++++++
src/MAX_PROC_NR
2011 Nov 23
2
[PATCH] New API: mdadm-stop for stopping MD devices.
This API is used to stop a md device.
When we want to move a device to another md array, we should
stop the md device which contained this device first.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/md.c | 16 ++++++++++++++++
generator/generator_actions.ml | 9 +++++++++
regressions/test-mdadm.sh | 14 ++++++++++++++
src/MAX_PROC_NR
2018 Jan 07
2
Re: virtdf outputs on host differs from df in guest
hi Jones,
Sorry for the late reply. when I used your method to execute command:
$guestfish -N fs:xfs -m /dev/sda1 statvfs /
libguestfs: error: mkfs: xfs: /dev/sda1: mkfs.xfs: No such file or directory
guestfish: error creating prepared disk image 'fs:xfs' on 'test1.img': failed to create filesystem (xfs): mkfs: xfs: /dev/sda1: mkfs.xfs: No such file or directory
does I need to
2014 Sep 13
2
Re: Need Help
Thanks a lot Rechard for your inputs.
On Fri, Sep 12, 2014 at 11:23 PM, Richard W.M. Jones <rjones@redhat.com>
wrote:
> On Fri, Sep 12, 2014 at 10:40:14PM +0530, Priyanka Ranjan wrote:
> > Hello Experts,
> >
> > I need a help from you . I am using CentOS 6.4 and using guestfish
> > to modify an ESX image.
> >
> > I am adding a disk, executing
2011 Nov 24
1
[PATCH] Rename mdadm_ apis to md_
This change renames the following 2 apis:
* mdadm_create -> md_create
* mdadm_detail -> md_detail
This is more consistent with list_md_devices, and removes a reference to an
implementation detail from the api.
---
daemon/md.c | 24 ++++++++++++------------
generator/generator_actions.ml | 4 ++--
regressions/test-list-filesystems.sh | 2 +-
2014 Jan 20
2
guestfish and luks-format
Is "luks-format" supposed to work with guestfish? Like guestfish <<EOF
luks-format /dev/sda4 0
EOF
Appearently it lacks an option to give the passphrase programmatically.
Was this option skipped on purpose?
Olaf
2016 Sep 27
2
[PATCH] fish: drop leading '/' in nbd paths (RHBZ#1379585)
When parsing the URI, drop the leading '/' from the path also when the
protocol is 'nbd': in this case, the path represents the export name,
which does not need the '/' coming from the URI format.
Improve the coverage for nbd in test-add-uri.sh, adding a couple of
tests, and adjusting the result of an existing one.
---
fish/test-add-uri.sh | 8 +++++++-
fish/uri.c
2018 Jan 04
2
Re: virtdf outputs on host differs from df in guest
hi Jones, Thanks for your reply.
At 2018-01-04 19:41:27, "Richard W.M. Jones" <rjones@redhat.com> wrote:
>On Thu, Jan 04, 2018 at 12:58:40PM +0800, Chen Fan wrote:
>[In guest]
>> python -c 'import os; s = os.statvfs ("/"); print s'
>> posix.statvfs_result(f_bsize=4096, f_frsize=4096, f_blocks=5886149,
>> f_bfree=4802342, f_bavail=4802342,
2006 Jan 27
9
RedCloth Hard Breaks
Has anybody gotten :hard_breaks to work with RedCloth?
I''m doing:
self.body_html = RedCloth.new(self.body).to_html(:textile)
which works, except that it doesn''t transform hard breaks to <br />
tags, which is really important for me.
However, if I do:
self.body_html = RedCloth.new(self.body, [ :hard_breaks ]).to_html(:textile)
then it converts ALL breaks into <br
2009 Aug 24
5
[0/5] guestfish: detect stdout-write failure
Nearly any program that writes to standard output can
benefit from this sort of fix.
Without it, running e.g., ./guestfish --version > /dev/full
would exit successfully, even though it got ENOSPC
when writing to the full device. That means regular
output redirected to a file on a full partition may also
fail to be written, and the error ignored.
Before:
$ guestfish --version >
2010 Mar 31
1
How can I change exit on error behaviour in remote control mode ?
Hi, all:
In remote control mode of guestfish, the server will normally exit if there is an error in a command.
guestfish man page said if we prefix a command with a - character, then that command will not cause guestfish to exit,
but this doesn't work in remote control mode, seems the prefixal '-' in sub-command won't be handled by guestfish.
--------------
$ eval `guestfish
2016 Feb 25
1
[PATCH] fish: Set program name correctly for virt-{copy, tar}-{in, out} programs.
Set the (libguestfs handle) program name correctly when running
programs like virt-copy-in, so the program name is not "guestfish" but
"virt-copy-in".
Note this feature cannot be tested using the ./run script, since
libtool (buggily) resets the program name to "lt-guestfish". However
I tested it on the installed copy and it worked there.
---
fish/virt-copy-in | 2
2018 Feb 07
1
[PATCH] fish: add a small doc note about -- for args (RHBZ#1536603)
This will hint what to do when any argument of a command starts with a
dash.
---
fish/guestfish.pod | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/fish/guestfish.pod b/fish/guestfish.pod
index ad98e975e..bbf43aad5 100644
--- a/fish/guestfish.pod
+++ b/fish/guestfish.pod
@@ -458,6 +458,13 @@ command that gives an error causes the whole shell to exit. In
interactive mode (with a