diff --git a/xCAT-OpenStack/lib/perl/xCAT_plugin/cloud.pm b/xCAT-OpenStack/lib/perl/xCAT_plugin/cloud.pm index b1c91fa37..f7c9cf263 100644 --- a/xCAT-OpenStack/lib/perl/xCAT_plugin/cloud.pm +++ b/xCAT-OpenStack/lib/perl/xCAT_plugin/cloud.pm @@ -179,6 +179,10 @@ sub process_request $callback->($rsp); next; } + + unless ( -d "$repos/environments") { + mkdir("$repos/environments", 0777); + } my $tmperr = cloudvars( $tmplfile,