X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fmachinectl.xml;h=b50f03f36fdd998a960b120b4bb1c2215ccb3e28;hb=a19b0678be6f105d1bb1aae151fcb907ea6e832a;hp=9b07af422640ca1e3dfac7291605cf5cf0ffca9e;hpb=798d3a524ea57aaf40cb53858aaa45ec702f012d;p=elogind.git diff --git a/man/machinectl.xml b/man/machinectl.xml index 9b07af422..b50f03f36 100644 --- a/man/machinectl.xml +++ b/man/machinectl.xml @@ -469,7 +469,7 @@ clone NAME NAME - Clones a container or disk image. The + Clones a container or VM image. The arguments specify the name of the image to clone and the name of the newly cloned image. Note that plain directory container images are cloned into subvolume images with this command. @@ -481,7 +481,7 @@ rename NAME NAME - Renames a container or disk image. The + Renames a container or VM image. The arguments specify the name of the image to rename and the new name of the image. @@ -489,22 +489,37 @@ read-only NAME [BOOL] - Marks or (unmarks) a container or disk image + Marks or (unmarks) a container or VM image read-only. Takes a VM or container image name, followed by a boolean as arguments. If the boolean is omitted, positive is implied, i.e. the image is marked read-only. - remove NAME... - Removes one or more container or disk images. + Removes one or more container or VM images. The special image .host, which refers to the host's own directory tree may not be removed. + + set-limit [NAME] BYTES + + Sets the maximum size in bytes a specific + container or VM image, or all images may grow up to + (quota). Takes either one or two parameters. The first, + optional parameter refers to a container or VM image name. If + specified the size limit of the specified images is + changed. If omitted the overall size limit of the sum of all + images stored locally is changed. The final argument specifies + the size limit in bytes, possibly suffixed by the usual K, M, + G, T units. If the size limit shall be disabled, specify + - as size. This operation is currently only + supported on btrfs subvolume images. + + Image Transfer Commands @@ -715,11 +730,12 @@ Download a Fedora image, set a root password in it, start it as service - # machinectl pull-raw --verify=no - http://ftp.halifax.rwth-aachen.de/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Base-20141203-21.x86_64.raw.xz - # systemd-nspawn -M Fedora-Cloud-Base-20141203-21 # passwd # - exit # machinectl start Fedora-Cloud-Base-20141203-21 # - machinectl login Fedora-Cloud-Base-20141203-21 + # machinectl pull-raw --verify=no http://ftp.halifax.rwth-aachen.de/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Base-20141203-21.x86_64.raw.xz +# systemd-nspawn -M Fedora-Cloud-Base-20141203-21 +# passwd +# exit +# machinectl start Fedora-Cloud-Base-20141203-21 +# machinectl login Fedora-Cloud-Base-20141203-21 This downloads the specified .raw image with verification disabled. Then a shell is opened in it