diff --git a/perl-xCAT/xCAT/PPCvm.pm b/perl-xCAT/xCAT/PPCvm.pm index 2e68a5095..428bf9fa7 100644 --- a/perl-xCAT/xCAT/PPCvm.pm +++ b/perl-xCAT/xCAT/PPCvm.pm @@ -256,7 +256,7 @@ sub mkvm_parse_args { # Read and check profile #################################### if ( exists( $opt{p})) { - $opt{p} = $request->{cwd}->[0] . $opt{p} if ( $opt{p} !~ /^\//); + $opt{p} = $request->{cwd}->[0] . '/' . $opt{p} if ( $opt{p} !~ /^\//); return ( usage( "Profile $opt{p} cannot be found")) if ( ! -f $opt{p}); open (PROFFILE, "<$opt{p}") or return ( usage( "Cannot open profile $opt{p}")); my @cfgdata = ();