X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Fguestfish.pod;h=274f1d416ddff278a25407f653d26f1574eebead;hp=cc974d7142fcf7d5a1461467509e787747201e2b;hb=48a216a06d6fdab3c8292c383a37cd990c0bf939;hpb=78d2523ec8997679f7fca810de60620df4001e16 diff --git a/fish/guestfish.pod b/fish/guestfish.pod index cc974d7..274f1d4 100644 --- a/fish/guestfish.pod +++ b/fish/guestfish.pod @@ -41,7 +41,7 @@ Create a new C file in a guest: add disk.img run mount /dev/vg_guest/lv_root / - write_file /etc/motd "Welcome, new users" 0 + write /etc/motd "Welcome, new users" _EOF_ List the LVM logical volumes in a guest: @@ -57,7 +57,7 @@ Update C in a guest: guestfish \ add disk.img : run : mount /dev/vg_guest/lv_root / : \ - write-file /etc/resolv.conf "nameserver 1.2.3.4" 0 + write /etc/resolv.conf "nameserver 1.2.3.4" Edit C interactively: @@ -551,7 +551,7 @@ multiple times (and can be mixed with I<-a>). The new disk is called C for the first I<-N>, C for the second and so on. Existing files in the current directory are -not overwritten, so you may need to do C. +I. The type briefly describes how the disk should be sized, partitioned, how filesystem(s) should be created, and how content should be added.