Detected with `typos --exclude changelog`.

Signed-off-by: Maximiliano Sandoval <[email protected]>
---
 src/PVE/LXC.pm               | 6 +++---
 src/PVE/LXC/Migrate.pm       | 2 +-
 src/PVE/LXC/Setup/Debian.pm  | 2 +-
 src/PVE/VZDump/ConvertOVZ.pm | 4 ++--
 src/lxc-pve-userns.conf      | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index de54a0db..d6cd76c6 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -1643,7 +1643,7 @@ my $options_with_restricted_read = {
 };
 
 # NOTE: this modifies the $conf reference directly, clone up-front if you want 
to safe this $conf
-# again to avoid loosing values!
+# again to avoid losing values!
 sub delete_read_restricted_options {
     my ($rpcenv, $authuser, $vmid, $conf, $pool) = @_;
 
@@ -2106,7 +2106,7 @@ sub mountpoint_stage {
     }
 
     # We clone the mount point and leave it there in order to keep them 
connected to eg. loop
-    # devices in case we're hotplugging (which would allow contaienrs to 
unmount the new mount
+    # devices in case we're hotplugging (which would allow containers to 
unmount the new mount
     # point).
     my $err;
     my $fd = PVE::Tools::open_tree(&AT_FDCWD, $stage_dir, &OPEN_TREE_CLOEXEC | 
&OPEN_TREE_CLONE)
@@ -3134,7 +3134,7 @@ sub vm_start {
 # unmount-all step, but post-stop happens after lxc puts the container into the
 # STOPPED state.
 # $kill - if true it will always do an immediate hard-stop
-# $shutdown_timeout - the timeout to wait for a gracefull shutdown
+# $shutdown_timeout - the timeout to wait for a graceful shutdown
 # $kill_after_timeout - if true, send a hardstop if shutdown timed out
 sub vm_stop {
     my ($vmid, $kill, $shutdown_timeout, $kill_after_timeout) = @_;
diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.pm
index 2fd00441..228394ef 100644
--- a/src/PVE/LXC/Migrate.pm
+++ b/src/PVE/LXC/Migrate.pm
@@ -246,7 +246,7 @@ sub phase1 {
         $path_to_volid->{$path}->{$volid} = 1;
 
         if (defined($snapname)) {
-            # we cannot migrate shapshots on local storage
+            # we cannot migrate snapshots on local storage
             # exceptions: 'zfspool', 'btrfs'
             if ($scfg->{type} eq 'zfspool' || $scfg->{type} eq 'btrfs') {
                 return;
diff --git a/src/PVE/LXC/Setup/Debian.pm b/src/PVE/LXC/Setup/Debian.pm
index fa99ae43..c265dfc5 100644
--- a/src/PVE/LXC/Setup/Debian.pm
+++ b/src/PVE/LXC/Setup/Debian.pm
@@ -26,7 +26,7 @@ sub new {
 
     die "unable to read version info\n" if !defined($version);
 
-    # translate testing version and os-release incompat derivates names
+    # translate testing version and os-release incompat derivative names
     my $version_map = {
         'stretch/sid' => 9.1,
         'buster/sid' => 10,
diff --git a/src/PVE/VZDump/ConvertOVZ.pm b/src/PVE/VZDump/ConvertOVZ.pm
index 9ba05912..4fcfa5ab 100644
--- a/src/PVE/VZDump/ConvertOVZ.pm
+++ b/src/PVE/VZDump/ConvertOVZ.pm
@@ -202,7 +202,7 @@ sub parse_integer {
     return undef;
 }
 
-my $ovz_ressources = {
+my $ovz_resources = {
     numproc => \&parse_res_num_ignore,
     numtcpsock => \&parse_res_num_ignore,
     numothersock => \&parse_res_num_ignore,
@@ -282,7 +282,7 @@ my $parse_ovz_config = sub {
         if ($line =~ m/^\s*([A-Z][A-Z0-9_]*)\s*=\s*\"(.*)\"\s*$/i) {
             my $name = lc($1);
             my $text = $2;
-            my $parser = $ovz_ressources->{$name};
+            my $parser = $ovz_resources->{$name};
             if (!$parser || !ref($parser)) {
                 $data->{$name}->{value} = $text;
                 next;
diff --git a/src/lxc-pve-userns.conf b/src/lxc-pve-userns.conf
index 33296251..0e2b07eb 100644
--- a/src/lxc-pve-userns.conf
+++ b/src/lxc-pve-userns.conf
@@ -3,5 +3,5 @@
 # Reset cgroupv2:
 lxc.cgroup2.devices.deny =
 lxc.cgroup2.devices.allow =
-# For unprivileged contaienrs we make it a deny-list:
+# For unprivileged containers we make it a deny-list:
 lxc.cgroup2.devices.allow = a
-- 
2.47.3



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to