Changeset 1ecf563 for BOOK/network/common/systemd-network.xml
- Timestamp:
- Aug 18, 2014, 3:57:02 PM (10 years ago)
- Branches:
- clfs-3.0.0-systemd, master, systemd
- Children:
- f0b15e4
- Parents:
- 782b8809
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/network/common/systemd-network.xml
r782b8809 r1ecf563 32 32 interface with a config file. Adjust Name= as required:</para> 33 33 34 <screen ><userinput>cd /etc/systemd/network &&34 <screen role="nodump"><userinput>cd /etc/systemd/network && 35 35 cat > static.network << "EOF" 36 36 [Match] … … 66 66 with a config file. Adjust Name= as required:</para> 67 67 68 <screen ><userinput>cd /etc/systemd/network &&68 <screen role="nodump"><userinput>cd /etc/systemd/network && 69 69 cat > dhcp.network << "EOF" 70 70 [Match] … … 80 80 create a symlink:</para> 81 81 82 <screen ><userinput>ln -sv /run/systemd/network/resolv.conf /etc</userinput></screen>82 <screen role="nodump"><userinput>ln -sv /run/systemd/network/resolv.conf /etc</userinput></screen> 83 83 84 84 </sect3> … … 94 94 user and group:</para> 95 95 96 <screen ><userinput>groupadd -g &gid-systemd-timesync; systemd-timesync96 <screen role="nodump"><userinput>groupadd -g &gid-systemd-timesync; systemd-timesync 97 97 useradd -g systemd-timesync -u &uid-systemd-timesync; -d /dev/null -s /bin/false systemd-timesync</userinput></screen> 98 98 … … 100 100 it will run on system boot:</para> 101 101 102 <screen ><userinput>systemctl enable systemd-timesyncd</userinput></screen>102 <screen role="nodump"><userinput>systemctl enable systemd-timesyncd</userinput></screen> 103 103 104 104 <para>You can configure <command>systemd-timesyncd</command> by editing
Note:
See TracChangeset
for help on using the changeset viewer.