Skip to content

Commit

Permalink
Added parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
okynos committed Jan 31, 2025
1 parent dae3ca3 commit 2257c12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Yam/Agama/Pom/ProfileGenerator.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ sub generate_profile {
system("sudo", "zypper", "-n", "addrepo", "-f", "-G",
"https://download.opensuse.org/repositories/systemsmanagement:Agama:Devel/15.6/systemsmanagement:Agama:Devel.repo");
system("sudo", "zypper", "-n", "install", "-f", "golang-github-google-jsonnet");
my $profile_parameters = get_var('AGAMA_PROFILE_PARAMETERS');
my $casedir = get_required_var('CASEDIR');
my $profile_content = `jsonnet $casedir/data/yam/agama/auto/sle.jsonnet`;
my $profile_content = `jsonnet $profile_parameters $casedir/data/yam/agama/auto/sle.jsonnet`;

save_tmp_file($profile_name, $profile_content);

Expand Down

0 comments on commit 2257c12

Please sign in to comment.