similar to: restrict access to host from guestfish

Displaying 20 results from an estimated 20000 matches similar to: "restrict access to host from guestfish"

2012 Sep 13
1
guestfish(1) references non-existant tar_out/tar_in option
While creating my first guestfish script I noticed an inconsistency in the guestfish(1) man page. The option tgz-out references "tar_out", which does not exist, instead its called "tar-out". The same is true for tgz-in/tar_in. After a quick grep in the code its not clear to me how to resolve this issue. Olaf
2014 Jul 04
2
iSCSI initiator iqn
Hi, I could not find any option to set iSCSI initiator iqn while using guestfish, although the underlying qemu command has this option. It appears that each time guestfish tries to connect to iSCSI LUN, a randomly generated initiator iqn is being used. This is preventing guestfish to connect to the iSCSI target in our environment as the target allows incoming connection based on the preconfigured
2015 Jun 24
1
Conditional statements in libguestfs
Hi Experts, I am writing a guestfish script . I want to implement conditional logic inside guestfish script. For example , if state.tgz exists in image do something else if onetime.tgz exists in the image do someotherthing . Is it possible to do this within guestfish script. I tried to search a solution for this in guestfish doucmentation but couldn't find anything useful. Thanks in advance
2015 Oct 20
1
Re: Extlinux with guestfish
Thank you for the quick response. > Strange way to do this, as libguestfs can do all this. Sorry to ask this (I'm a newly graduated engineer and I new to the virtualization world), but how can libguestfs do all of the above?, do you mean it can create all the partitions inside a new lvm volume or a new raw image?? > Did you copy the syslinux.cfg file into the guest? The error message
2009 Dec 07
2
Re: libguestfs performance
On Tue, Dec 01, 2009 at 04:08:38PM +0100, Pierre Riteau wrote: > For a project of mine I would like to create VMs from tarballs of > root filesystems. I would like to use libguestfs since this is > exactly what the tar2vm.sh guestfish recipe does. > > However, I need to extract tarballs that are in the hundreds of > megabytes, but my tests showed that performance is very low,
2009 Sep 11
1
[PATCH] guestfish: Redirect stdout when executing remote commands
guestfish --listen necessarily redirects its stdout to /dev/null so as not to interfere with eval. The remote protocol doesn't contain any other provision for collecting stdout for the caller, so executing guestfish --remote will never generate any output. This patch fixes that by forwarding the caller's STDOUT to the listener over the unix socket connection. The listener redirects its
2013 Aug 18
2
missing mount cmd confuses guestfish
I think calling "sh" before "mount" should not confuse guestfish like that: # guestfish (1.20.4 on sles11sp3) Welcome to guestfish, the libguestfs filesystem interactive shell for editing virtual machine filesystems. Type: 'help' for help on commands 'man' to read the manual 'quit' to quit the shell ><fs> add-drive
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 >
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
2017 Jul 27
2
Re: performance between guestfish and qemu-nbd
2017-07-27 20:18 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>: > On Thu, Jul 27, 2017 at 06:34:13PM +0800, lampahome wrote: > > I can mount qcow2 img to nbd devices through guestfish or qemu-nbd > > > > I'm curious about which performance is better? > > They do quite different things, they're not comparable. > > Can you specifically give the
2013 May 14
1
guestfish runs w/ a nested guest
# Ref: http://libguestfs.org/guestfs-performance.1.html Run the below command: $ time guestfish -a /dev/null run NOTE: Discard the first few results, to get a hot cache. (Thanks Rich.) 1/ L0. with L1 running. ---------------------------------------------------------------------- $ for i in {1..10}; do time guestfish -a /dev/null run; done real 0m28.277s user 0m11.028s
2020 Apr 02
2
Can I use guestfish to benchmark qemu performance?
I come across this page libguestfs.org/guestfs-performance.1.html <http://libguestfs.org/guestfs-performance.1.html> This raises my interest. I am currently learning how to benchmark performance qemu. So here is my questions: 1. Can I use guestfish or any tools provided by libguestfs to benchmark qemu? How? (The command I use below is correct or what's the correct command to execute
2017 Jul 28
1
Re: performance between guestfish and qemu-nbd
2017-07-28 0:31 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>: > On Fri, Jul 28, 2017 at 12:23:04AM +0800, lampahome wrote: > > 2017-07-27 20:18 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>: > > > > > On Thu, Jul 27, 2017 at 06:34:13PM +0800, lampahome wrote: > > > > I can mount qcow2 img to nbd devices through guestfish or qemu-nbd > >
2013 Aug 22
1
Re: missing mount cmd confuses guestfish
On Thu, Aug 22, 2013 at 02:40:27PM +0200, Olaf Hering wrote: > On Sun, Aug 18, Olaf Hering wrote: > > > > > I think calling "sh" before "mount" should not confuse guestfish like > > that: > > > > # guestfish (1.20.4 on sles11sp3) > > Doing the same, by accident, with 1.22.5 causes a crash: > > > # guestfish -r -v
2019 Jun 28
2
Re: Guestfish command - "copy-out" not working for symbolic links
This no going to work. AS I told you I need something under guestfish command list not from guestfs commands. Thanks, Chintan ________________________________ From: Nikolay Ivanets <stenavin@gmail.com> Sent: Friday, June 28, 2019 10:58 AM To: Chintan Patel Cc: Chintan Patel; libguestfs@redhat.com Subject: Re: [Libguestfs] Guestfish command - "copy-out" not working for symbolic
2019 Jun 28
2
Re: Guestfish command - "copy-out" not working for symbolic links
guestfish --ro -a /path/to/disk run : mount /dev/your-blkdev / : download /etc/resolv.conf /path/on/host/dst.file -- +380979184774 Mykola Ivanets пт, 28 черв. 2019 о 21:29 Nikolay Ivanets <stenavin@gmail.com> пише: > > All API is exposed as gustfish commands > > -- > Mykola Ivanets > > пт, 28 черв. 2019, 21:28 користувач Chintan Patel
2012 Mar 08
2
mounting using guestfish
[Please remember to post all questions on the mailing list] On Thu, Mar 08, 2012 at 09:41:19PM +0700, Tho Huynh wrote: > Can I mount the guest's file system into a folder/path (mountpoint) > in the host machine using guestfish? No, but you don't need to. > And accessing that folder equal to accessing the guest's file > system. What I'm trying to do is to copy a file
2019 Jun 28
1
Re: Guestfish command - "copy-out" not working for symbolic links
Hi Nikolay, We use guestfish, so I preferred to use commands supported by guestfish. I tried as below but "realpath" is not working after I have the target path from symlink. --> Check if the path has a symlink. is-symlink path Ex. - is-symlink "/etc/resolv.conf" -> return true --> If it's true then get target link path readlink path ex. - readlink
2014 Mar 24
2
Re: About Guest running Tiny Core Linux
On Mon, Mar 24, 2014 at 08:22:46AM -0400, Arup Raton Roy wrote: > Hi Richard, > > Thanks a lot for your prompt response. I am enumerating the steps that I > followed during the provisioning, if it helps. Thanks ... > 1. These are the commands that I used to create the disk image. > > qemu-img create -f qcow2 base_VM.qcow2 512M > kvm -m 512 -cdrom Core-current.iso -hda
2011 Sep 01
3
guestfish zerofree on LVM ?
Hi- Is it safe to use the zerofree utility on an ext4 partition inside an LVM with guestfish? I know zerofree works on ext4, but I am unsure about LVM. The info page uses the syntax "zerofree <device>", so using the info page example, could I (safely) do something like the following? $ guestfish Welcome to guestfish, the libguestfs filesystem interactive shell for