From 11158bc3cbd72652de1d6e89fd6ee55b1b40f3c0 Mon Sep 17 00:00:00 2001 From: Nigel McNie Date: Mon, 2 Apr 2007 20:38:44 +1200 Subject: [PATCH] Add a newline to the profile file, to stop the vserver complaining --- vserverctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vserverctl b/vserverctl index 40c8ade..9a96f19 100755 --- a/vserverctl +++ b/vserverctl @@ -87,7 +87,7 @@ if ( $action eq 'add' ) { '-m' => $config->{mirror}, ); system('vserver', $vsname, 'start'); - write_file('/etc/vservers/' . $vsname . '/profile', $profile); + write_file('/etc/vservers/' . $vsname . '/profile', $profile . "\n"); write_file($vsroot . 'etc/apt/sources.list', $config->{files}{aptsources}); # TODO: get the apt-key stuff working system('vserver', $vsname, 'apt-get', 'update'); -- 2.39.5