teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame 0029-man-add-newlines-to-the-pull-raw-example-in-machinec.patch

Zbigniew Jędrzejewski-Szmek 399a2a
From 058bc7a903672a01981450a8c21ec03b92498aff Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 399a2a
From: Benjamin Franzke <benjaminfranzke@googlemail.com>
Zbigniew Jędrzejewski-Szmek 399a2a
Date: Thu, 19 Feb 2015 13:10:18 +0100
Zbigniew Jędrzejewski-Szmek 399a2a
Subject: [PATCH] man: add newlines to the pull-raw example in machinectl(1)
Zbigniew Jędrzejewski-Szmek 399a2a
Zbigniew Jędrzejewski-Szmek 399a2a
They were removed in commit 798d3a52 ("Reindent man pages to 2ch").
Zbigniew Jędrzejewski-Szmek 399a2a
Zbigniew Jędrzejewski-Szmek 399a2a
(cherry picked from commit ac92ced5bb41def1d90f871d6c8cfec2b03c0c7d)
Zbigniew Jędrzejewski-Szmek 399a2a
---
Zbigniew Jędrzejewski-Szmek 399a2a
 man/machinectl.xml | 11 ++++++-----
Zbigniew Jędrzejewski-Szmek 399a2a
 1 file changed, 6 insertions(+), 5 deletions(-)
Zbigniew Jędrzejewski-Szmek 399a2a
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/man/machinectl.xml b/man/machinectl.xml
Zbigniew Jędrzejewski-Szmek 399a2a
index 9b07af4226..640cb8b7d6 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/man/machinectl.xml
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/man/machinectl.xml
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -715,11 +715,12 @@
Zbigniew Jędrzejewski-Szmek 399a2a
       <title>Download a Fedora image, set a root password in it, start
Zbigniew Jędrzejewski-Szmek 399a2a
       it as service</title>
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
-      <programlisting># machinectl pull-raw --verify=no
Zbigniew Jędrzejewski-Szmek 399a2a
-      http://ftp.halifax.rwth-aachen.de/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Base-20141203-21.x86_64.raw.xz
Zbigniew Jędrzejewski-Szmek 399a2a
-      # systemd-nspawn -M Fedora-Cloud-Base-20141203-21 # passwd #
Zbigniew Jędrzejewski-Szmek 399a2a
-      exit # machinectl start Fedora-Cloud-Base-20141203-21 #
Zbigniew Jędrzejewski-Szmek 399a2a
-      machinectl login Fedora-Cloud-Base-20141203-21</programlisting>
Zbigniew Jędrzejewski-Szmek 399a2a
+      <programlisting># 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
Zbigniew Jędrzejewski-Szmek 399a2a
+# systemd-nspawn -M Fedora-Cloud-Base-20141203-21
Zbigniew Jędrzejewski-Szmek 399a2a
+# passwd
Zbigniew Jędrzejewski-Szmek 399a2a
+# exit
Zbigniew Jędrzejewski-Szmek 399a2a
+# machinectl start Fedora-Cloud-Base-20141203-21
Zbigniew Jędrzejewski-Szmek 399a2a
+# machinectl login Fedora-Cloud-Base-20141203-21</programlisting>
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
       <para>This downloads the specified <filename>.raw</filename>
Zbigniew Jędrzejewski-Szmek 399a2a
       image with verification disabled. Then a shell is opened in it