mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-08-06 22:10:50 +00:00
use listings for file contents
This commit is contained in:
parent
e300cf7dab
commit
083adc34fd
@ -265,7 +265,9 @@ pool errors.
|
|||||||
To activate the daemon it is necessary to edit `/etc/zfs/zed.d/zed.rc` with your
|
To activate the daemon it is necessary to edit `/etc/zfs/zed.d/zed.rc` with your
|
||||||
favourite editor, and uncomment the `ZED_EMAIL_ADDR` setting:
|
favourite editor, and uncomment the `ZED_EMAIL_ADDR` setting:
|
||||||
|
|
||||||
|
--------
|
||||||
ZED_EMAIL_ADDR="root"
|
ZED_EMAIL_ADDR="root"
|
||||||
|
--------
|
||||||
|
|
||||||
Please note {pve} forwards mails to `root` to the email address
|
Please note {pve} forwards mails to `root` to the email address
|
||||||
configured for the root user.
|
configured for the root user.
|
||||||
@ -312,7 +314,9 @@ run into low memory situations. Additionally, you can lower the
|
|||||||
To make the swappiness persistent, open `/etc/sysctl.conf` with
|
To make the swappiness persistent, open `/etc/sysctl.conf` with
|
||||||
an editor of your choice and add the following line:
|
an editor of your choice and add the following line:
|
||||||
|
|
||||||
vm.swappiness = 10
|
--------
|
||||||
|
vm.swappiness = 10
|
||||||
|
--------
|
||||||
|
|
||||||
.Linux kernel `swappiness` parameter values
|
.Linux kernel `swappiness` parameter values
|
||||||
[width="100%",cols="<m,2d",options="header"]
|
[width="100%",cols="<m,2d",options="header"]
|
||||||
|
6
pct.adoc
6
pct.adoc
@ -140,8 +140,10 @@ File Format
|
|||||||
Container configuration files use a simple colon separated key/value
|
Container configuration files use a simple colon separated key/value
|
||||||
format. Each line has the following format:
|
format. Each line has the following format:
|
||||||
|
|
||||||
# this is a comment
|
-----
|
||||||
OPTION: value
|
# this is a comment
|
||||||
|
OPTION: value
|
||||||
|
-----
|
||||||
|
|
||||||
Blank lines in those files are ignored, and lines starting with a `#`
|
Blank lines in those files are ignored, and lines starting with a `#`
|
||||||
character are treated as comments and are also ignored.
|
character are treated as comments and are also ignored.
|
||||||
|
@ -475,10 +475,11 @@ set it for the `default` interface configuration and enabling it explicitly on
|
|||||||
the interfaces which need it. This is also the case for other settings such as
|
the interfaces which need it. This is also the case for other settings such as
|
||||||
`forwarding`, `accept_ra` or `autoconf`.
|
`forwarding`, `accept_ra` or `autoconf`.
|
||||||
|
|
||||||
Here's a possible setup:
|
|
||||||
----
|
|
||||||
# /etc/sysconf.d/90-ipv6.conf
|
|
||||||
|
|
||||||
|
Here's a possible setup:
|
||||||
|
|
||||||
|
.File `/etc/sysconf.d/90-ipv6.conf`
|
||||||
|
----
|
||||||
net.ipv6.conf.default.forwarding = 0
|
net.ipv6.conf.default.forwarding = 0
|
||||||
net.ipv6.conf.default.proxy_ndp = 0
|
net.ipv6.conf.default.proxy_ndp = 0
|
||||||
net.ipv6.conf.default.autoconf = 0
|
net.ipv6.conf.default.autoconf = 0
|
||||||
@ -488,8 +489,8 @@ net.ipv6.conf.default.accept_ra = 0
|
|||||||
net.ipv6.conf.lo.disable_ipv6 = 0
|
net.ipv6.conf.lo.disable_ipv6 = 0
|
||||||
----
|
----
|
||||||
|
|
||||||
|
.File `/etc/network/interfaces`
|
||||||
----
|
----
|
||||||
# /etc/network/interfaces
|
|
||||||
(...)
|
(...)
|
||||||
# Dual stack:
|
# Dual stack:
|
||||||
iface vmbr0 inet static
|
iface vmbr0 inet static
|
||||||
|
Loading…
Reference in New Issue
Block a user