diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/backends/terraform_libvirt.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/models/backends/terraform_libvirt.rb b/app/models/backends/terraform_libvirt.rb index 4a37a3b..a6cde5e 100644 --- a/app/models/backends/terraform_libvirt.rb +++ b/app/models/backends/terraform_libvirt.rb @@ -63,8 +63,9 @@ class Backends::TerraformLibvirt < ApplicationRecord admin_environment_label: mini_environment.name, signon_instance_name: slug, use_error_pages: 'true', - origin_basic_auth: "#{slug}=#{slug}" - } + origin_basic_auth: "#{slug}=#{slug}", + data_snapshot: mini_environment.data_snapshot.try(:store_path) + }.compact ) end |