]> git.proxmox.com Git - pve-container.git/commitdiff
setup debian, centos: fixup comment typo/line-length
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 19 Nov 2023 16:53:15 +0000 (17:53 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 19 Nov 2023 16:54:51 +0000 (17:54 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Setup/Debian.pm
src/PVE/LXC/Setup/Fedora.pm

index a7308a4664e6016c81068c4683bd86923097ee24..8f7f5242239a91f2ef3de9fc1742229787c5c22d 100644 (file)
@@ -106,10 +106,9 @@ sub setup_init {
 
        my $version = $self->{version};
        if (at_least($version, 12, 0)) {
-           # this only affects the first-boot (if no /etc/machien-id exists).
+           # this only affects the first-boot (if no /etc/machine-id exists).
            $self->setup_systemd_preset({
-               # systemd-networkd gets enabled by default, disable it, debian uses
-               # ifupdown
+               # systemd-networkd gets enabled by default, disable it, debian uses ifupdown
                'systemd-networkd.service' => 0,
            });
        }
index 1a487c67ab944f8bf4f9e8706c05651439bc4989..ca35a5a71301a26eb8248645ee77267780d87fc7 100644 (file)
@@ -35,10 +35,10 @@ sub setup_init {
     my $version = $self->{version};
 
     if ($version >= 37) {
-       # this only affects the first-boot (if no /etc/machien-id exists).
+       # this only affects the first-boot (if no /etc/machine-id exists).
        $self->setup_systemd_preset({
-           # systemd-networkd is disabled by the preset in >=37 in favor of
-           # NetworkManager, reenable it, since we make use of it.
+           # systemd-networkd is disabled by the preset in >= 37 in favor of NetworkManager,
+           # reenable it, since we make use of it.
            'systemd-networkd.service' => 1,
        });
     }