diff options
author | Mike Yuan <me@yhndnzj.com> | 2023-03-12 00:56:13 +0800 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2023-03-15 19:56:19 +0800 |
commit | 1ed35a0d936fede155eb0c060ddfe4375885077f (patch) | |
tree | 4585f1b65a4077e2ca84528be694ef7d287a7902 /man/machinectl.xml | |
parent | d6c623e88446e819b999c12b53be5e8c977f9f08 (diff) | |
download | systemd-1ed35a0d936fede155eb0c060ddfe4375885077f.tar.gz |
machinectl: add verb edit and cat to operate on .nspawn files
This allows operating on .nspawn files using machinectl.
Closes #26246
Diffstat (limited to 'man/machinectl.xml')
-rw-r--r-- | man/machinectl.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/man/machinectl.xml b/man/machinectl.xml index 2ecbe0f0ab..1585a0896d 100644 --- a/man/machinectl.xml +++ b/man/machinectl.xml @@ -377,6 +377,21 @@ </varlistentry> <varlistentry> + <term><command>edit</command> <replaceable>NAME|FILE</replaceable></term> + + <listitem><para>Edit the settings file of the specified machines. For the format of the settings file, refer to <citerefentry + project='man-pages'><refentrytitle>systemd.nspawn</refentrytitle><manvolnum>5</manvolnum></citerefentry>. + If an existing settings file of the given machine can't be found, <command>edit</command> automatically + create a new settings file from scratch under <filename>/etc/</filename></para></listitem> + </varlistentry> + + <varlistentry> + <term><command>cat</command> <replaceable>NAME|FILE</replaceable></term> + + <listitem><para>Show the settings file of the specified machines.</para></listitem> + </varlistentry> + + <varlistentry> <term><command>clone</command> <replaceable>NAME</replaceable> <replaceable>NAME</replaceable></term> <listitem><para>Clones a container or VM image. The arguments specify the name of the image to clone and the |