Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
88bef545
Commit
88bef545
authored
Nov 05, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug #276: create root mount point
parent
cba0368b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
OpenVZ.pm
PVE/API2/OpenVZ.pm
+8
-2
changelog.Debian
debian/changelog.Debian
+6
-0
defines.mk
defines.mk
+1
-1
No files found.
PVE/API2/OpenVZ.pm
View file @
88bef545
...
@@ -141,7 +141,7 @@ __PACKAGE__->register_method({
...
@@ -141,7 +141,7 @@ __PACKAGE__->register_method({
my
$restore_openvz
=
sub
{
my
$restore_openvz
=
sub
{
my
(
$private
,
$archive
,
$vmid
,
$force
)
=
@_
;
my
(
$private
,
$archive
,
$vmid
,
$force
)
=
@_
;
my
$vzconf
=
PVE::OpenVZ::
read_global_vz_config
();
my
$vzconf
=
PVE::OpenVZ::
read_global_vz_config
();
my
$conffile
=
PVE::OpenVZ::
config_file
(
$vmid
);
my
$conffile
=
PVE::OpenVZ::
config_file
(
$vmid
);
my
$cfgdir
=
dirname
(
$conffile
);
my
$cfgdir
=
dirname
(
$conffile
);
...
@@ -173,7 +173,7 @@ my $restore_openvz = sub {
...
@@ -173,7 +173,7 @@ my $restore_openvz = sub {
};
};
mkpath
$private
||
die
"
unable to create private dir '
$private
'
";
mkpath
$private
||
die
"
unable to create private dir '
$private
'
";
mkpath
$root
||
die
"
unable to create
private dir '
$private
'
";
mkpath
$root
||
die
"
unable to create
root dir '
$root
'
";
my
$cmd
=
['
tar
',
'
xpf
',
$archive
,
'
--totals
',
'
--sparse
',
'
-C
',
$private
];
my
$cmd
=
['
tar
',
'
xpf
',
$archive
,
'
--totals
',
'
--sparse
',
'
-C
',
$private
];
...
@@ -1090,6 +1090,12 @@ __PACKAGE__->register_method({
...
@@ -1090,6 +1090,12 @@ __PACKAGE__->register_method({
PVE::Storage::
activate_storage
(
$stcfg
,
$sid
);
PVE::Storage::
activate_storage
(
$stcfg
,
$sid
);
}
}
my
$vzconf
=
PVE::OpenVZ::
read_global_vz_config
();
# make sure mount point is there (see bug #276)
my
$root
=
PVE::OpenVZ::
get_rootdir
(
$veconf
,
$vmid
);
mkpath
$root
||
die
"
unable to create root dir '
$root
'
";
my
$cmd
=
['
vzctl
',
'
start
',
$vmid
];
my
$cmd
=
['
vzctl
',
'
start
',
$vmid
];
run_command
(
$cmd
);
run_command
(
$cmd
);
...
...
debian/changelog.Debian
View file @
88bef545
pve-manager (2.2-29) unstable; urgency=low
* fix bug #276: create root mount point
-- Proxmox Support Team <support@proxmox.com> Mon, 05 Nov 2012 06:44:24 +0100
pve-manager (2.2-28) unstable; urgency=low
pve-manager (2.2-28) unstable; urgency=low
* remove hardcoded blowfish cipher
* remove hardcoded blowfish cipher
...
...
defines.mk
View file @
88bef545
...
@@ -2,7 +2,7 @@ RELEASE=2.2
...
@@ -2,7 +2,7 @@ RELEASE=2.2
VERSION=2.2
VERSION=2.2
PACKAGE=pve-manager
PACKAGE=pve-manager
PACKAGERELEASE=2
8
PACKAGERELEASE=2
9
BINDIR=${DESTDIR}/usr/bin
BINDIR=${DESTDIR}/usr/bin
PERLLIBDIR=${DESTDIR}/usr/share/perl5
PERLLIBDIR=${DESTDIR}/usr/share/perl5
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment