Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for disk-based deployment mode for SLES 15 #260

Closed
1 task done
tenthirtyam opened this issue Aug 24, 2022 · 2 comments · Fixed by #276
Closed
1 task done

Add support for disk-based deployment mode for SLES 15 #260

tenthirtyam opened this issue Aug 24, 2022 · 2 comments · Fixed by #276
Assignees
Labels
priority/medium Priority Medium sev/low Low type/enhancement Enhancement
Milestone

Comments

@tenthirtyam
Copy link
Collaborator

tenthirtyam commented Aug 24, 2022

Code of Conduct

  • I have read and agree to the project's Code of Conduct.

Description

SUSE Linux Enterprise Server 15 was introduced to the project in the v22.07 release with only support for HTTP-based deployment only.

This issue will track the an enhancement for disk-based deployment support.

Use Case(s)

Support disk-based deployment.

Potential Configuration

To be determined.

References

CHANGELOG:

> **Note**
>
> - Supports 15.3 / 15 Service Pack 3. 15.4 planned.
> - HTTP-based deployment only. Disk-based deployment planned.

#227.

Mentions

cc @gcblack

@tenthirtyam tenthirtyam self-assigned this Aug 24, 2022
@tenthirtyam tenthirtyam added this to the Backlog milestone Aug 24, 2022
@tenthirtyam
Copy link
Collaborator Author

tenthirtyam commented Aug 24, 2022

Discovery Context

  1. Ensure the the locals for the data_source_command includes the correct the disk -based data source option for kickstart to use the methods mentions earlier in the thread, but retain the http -based methods as the default.

Initial investigation assumes the following.

data_source_command:

locals {
   # ... excluded for brevity ...
  data_source_content = {
    "/autoinst.xml" = templatefile("${abspath(path.root)}/data/autoinst.pkrtpl.hcl", {
      build_username           = var.build_username
      build_password           = var.build_password
      build_password_encrypted = var.build_password_encrypted
      scc_email                = var.scc_email
      scc_code                 = var.scc_code
      vm_guest_os_language     = var.vm_guest_os_language
      vm_guest_os_keyboard     = var.vm_guest_os_keyboard
      vm_guest_os_timezone     = var.vm_guest_os_timezone
    })
  }
  data_source_command = var.common_data_source == "http" ? " autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/autoinst.xml" : " autoyast=device://sr1/autoinst.xml"
   # ... excluded for brevity ...
}
  1. The boot_command must be modified to mount the .iso based on the var.common_data_source != http (disk). For example:
  boot_command = [
    # ... unknown...
    "${local.data_source_command}",
    # ... unknown...
  ]

Ryan Johnson
Senior Staff Solutions Architect | Product Engineering @ VMware, Inc.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority/medium Priority Medium sev/low Low type/enhancement Enhancement
Projects
None yet
1 participant