From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH container] correct a handful of typos
Date: Mon, 22 Dec 2025 09:22:36 +0100 [thread overview]
Message-ID: <20251222082239.68125-1-m.sandoval@proxmox.com> (raw)
Detected with `typos --exclude changelog`.
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
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
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
reply other threads:[~2025-12-22 8:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251222082239.68125-1-m.sandoval@proxmox.com \
--to=m.sandoval@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.