[pve-devel] [PATCH container 3/3] fix trailing whitespace
Dominik Csapak
d.csapak at proxmox.com
Tue Oct 31 11:25:11 CET 2017
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
src/PVE/LXC/Setup/Ubuntu.pm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/PVE/LXC/Setup/Ubuntu.pm b/src/PVE/LXC/Setup/Ubuntu.pm
index a0d11cc..781348a 100644
--- a/src/PVE/LXC/Setup/Ubuntu.pm
+++ b/src/PVE/LXC/Setup/Ubuntu.pm
@@ -29,14 +29,14 @@ sub new {
my $lsbinfo = PVE::Tools::file_get_contents($lsb_fn);
die "got unknown DISTRIB_ID\n" if $lsbinfo !~ m/^DISTRIB_ID=Ubuntu$/mi;
-
+
my $version;
if ($lsbinfo =~ m/^DISTRIB_RELEASE=(\d+\.\d+)$/mi) {
$version = $1;
}
-
+
die "unable to read version info\n" if !defined($version);
-
+
die "unsupported Ubuntu version '$version'\n"
if !$known_versions->{$version};
@@ -87,7 +87,7 @@ sub setup_init {
if ($version >= '16.10') {
$self->setup_container_getty_service($conf);
}
-
+
if ($version eq '12.04' || $version eq '14.04') {
my $ttycount = PVE::LXC::Config->get_tty_count($conf);
for (my $i = 1; $i < 7; $i++) {
--
2.11.0
More information about the pve-devel
mailing list