Skip to content

Commit

Permalink
Merge pull request #439 from stackhpc/fix/packer-sentinel-file
Browse files Browse the repository at this point in the history
Prevent ansible-init running during packer build
  • Loading branch information
bertiethorpe authored Oct 23, 2024
2 parents ae0c067 + 57a0acb commit 9e30bf6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions environments/.stackhpc/hooks/post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@
state: absent
with_items:
- /opt/ood/ondemand/root/usr/share/gems/3.1/ondemand/3.1.7-1/gems/bootstrap_form-2.7.0/test/dummy/Gemfile.lock
- /opt/ood/ondemand/root/usr/share/gems/3.1/ondemand/3.1.9-1/gems/bootstrap_form-2.7.0/test/dummy/Gemfile.lock
- /opt/ood/ondemand/root/usr/share/gems/3.1/ondemand/3.1.7-1/gems/bootstrap_form-4.5.0/demo/yarn.lock
- /opt/ood/ondemand/root/usr/share/gems/3.1/ondemand/3.1.9-1/gems/bootstrap_form-4.5.0/demo/yarn.lock
- /var/www/ood/apps/sys/dashboard/node_modules/data-confirm-modal/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"cluster_image": {
"RL8": "openhpc-RL8-241009-1523-354b048a",
"RL9": "openhpc-RL9-241009-1523-354b048a",
"RL9-cuda": "openhpc-cuda-RL9-241009-1523-354b048a"
"RL8": "openhpc-RL8-241022-0441-a5affa58",
"RL9": "openhpc-RL9-241022-0038-a5affa58",
"RL9-cuda": "openhpc-cuda-RL9-241022-0441-a5affa58"
}
}
1 change: 1 addition & 0 deletions packer/openstack.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ source "openstack" "openhpc" {
volume_type = var.volume_type
volume_size = var.volume_size[source.name]
metadata = var.metadata
instance_metadata = {ansible_init_disable = "true"}
networks = var.networks
floating_ip_network = var.floating_ip_network
security_groups = var.security_groups
Expand Down
2 changes: 1 addition & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ collections:
version: 0.4.0
- name: https://github.com/azimuth-cloud/ansible-collection-image-utils
type: git
version: main # update on release
version: 0.4.0
...

0 comments on commit 9e30bf6

Please sign in to comment.