Compare commits
3 Commits
a149d4a95e
...
48625dc437
Author | SHA1 | Date |
---|---|---|
Lennart Poettering | 48625dc437 | |
Zbigniew Jędrzejewski-Szmek | d468c81e26 | |
Zbigniew Jędrzejewski-Szmek | 5fadff3352 |
|
@ -11,3 +11,5 @@
|
||||||
<!ENTITY KILL_USER_PROCESSES @KILL_USER_PROCESSES_YES_NO@>
|
<!ENTITY KILL_USER_PROCESSES @KILL_USER_PROCESSES_YES_NO@>
|
||||||
<!ENTITY DEBUGTTY @DEBUGTTY@>
|
<!ENTITY DEBUGTTY @DEBUGTTY@>
|
||||||
<!ENTITY RC_LOCAL_PATH @RC_LOCAL_PATH@>
|
<!ENTITY RC_LOCAL_PATH @RC_LOCAL_PATH@>
|
||||||
|
<!ENTITY fedora_latest_version "33">
|
||||||
|
<!ENTITY fedora_cloud_release "1.2">
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
<?xml version='1.0'?>
|
<?xml version='1.0'?>
|
||||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
|
||||||
|
<!ENTITY % entities SYSTEM "custom-entities.ent" >
|
||||||
|
%entities;
|
||||||
|
]>
|
||||||
<!-- SPDX-License-Identifier: LGPL-2.1+ -->
|
<!-- SPDX-License-Identifier: LGPL-2.1+ -->
|
||||||
|
|
||||||
<refentry id="machinectl" conditional='ENABLE_MACHINED'
|
<refentry id="machinectl" conditional='ENABLE_MACHINED'
|
||||||
|
@ -939,14 +942,16 @@
|
||||||
|
|
||||||
<example>
|
<example>
|
||||||
<title>Download a Fedora image, set a root password in it, start
|
<title>Download a Fedora image, set a root password in it, start
|
||||||
it as service</title>
|
it as a service</title>
|
||||||
|
|
||||||
<programlisting># machinectl pull-raw --verify=no https://dl.fedoraproject.org/pub/fedora/linux/releases/27/CloudImages/x86_64/images/Fedora-Cloud-Base-27-1.6.x86_64.raw.xz
|
<programlisting># machinectl pull-raw --verify=no \
|
||||||
# systemd-nspawn -M Fedora-Cloud-Base-27-1.6.x86_64
|
https://download.fedoraproject.org/pub/fedora/linux/releases/&fedora_latest_version;/Cloud/x86_64/images/Fedora-Cloud-Base-&fedora_latest_version;-&fedora_cloud_release;.x86_64.raw.xz \
|
||||||
|
Fedora-Cloud-Base-&fedora_latest_version;-&fedora_cloud_release;.x86-64
|
||||||
|
# systemd-nspawn -M Fedora-Cloud-Base-&fedora_latest_version;-&fedora_cloud_release;.x86-64
|
||||||
# passwd
|
# passwd
|
||||||
# exit
|
# exit
|
||||||
# machinectl start Fedora-Cloud-Base-27-1.6.x86_64
|
# machinectl start Fedora-Cloud-Base-&fedora_latest_version;-&fedora_cloud_release;.x86-64
|
||||||
# machinectl login Fedora-Cloud-Base-27-1.6.x86_64</programlisting>
|
# machinectl login Fedora-Cloud-Base-&fedora_latest_version;-&fedora_cloud_release;.x86-64</programlisting>
|
||||||
|
|
||||||
<para>This downloads the specified <filename>.raw</filename>
|
<para>This downloads the specified <filename>.raw</filename>
|
||||||
image with verification disabled. Then, a shell is opened in it
|
image with verification disabled. Then, a shell is opened in it
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version='1.0'?>
|
<?xml version='1.0'?>
|
||||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
|
||||||
<!ENTITY fedora_latest_version "32">
|
<!ENTITY % entities SYSTEM "custom-entities.ent" >
|
||||||
<!ENTITY fedora_cloud_release "1.6">
|
%entities;
|
||||||
]>
|
]>
|
||||||
<!-- SPDX-License-Identifier: LGPL-2.1+ -->
|
<!-- SPDX-License-Identifier: LGPL-2.1+ -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue