From 1ed35a0d936fede155eb0c060ddfe4375885077f Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Sun, 12 Mar 2023 00:56:13 +0800 Subject: machinectl: add verb edit and cat to operate on .nspawn files This allows operating on .nspawn files using machinectl. Closes #26246 --- man/machinectl.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'man/machinectl.xml') diff --git a/man/machinectl.xml b/man/machinectl.xml index 2ecbe0f0ab..1585a0896d 100644 --- a/man/machinectl.xml +++ b/man/machinectl.xml @@ -376,6 +376,21 @@ formatted human-readable output. + + edit NAME|FILE + + Edit the settings file of the specified machines. For the format of the settings file, refer to systemd.nspawn5. + If an existing settings file of the given machine can't be found, edit automatically + create a new settings file from scratch under /etc/ + + + + cat NAME|FILE + + Show the settings file of the specified machines. + + clone NAME NAME -- cgit v1.2.1