metal/kickstart
Kyle MacLeod 66316f0b88 Add ostree_repo pull and setup networking for bootstrap
1. Copying ostree_repo to the feed

The ostree_repo is required at /var/www/pages/feed/<rel-id>
Also, support for IPv6 must be added.
The required support for this is added to miniboot.cfg.

The ostree repo is pulled from the remote to the feed directory
in archive mode.

2. Setup networking for both the ostree_repo pull on initial boot and
   the persistent configuration for the subsequent phase 2 boot.

Note: This commit also incorporates and supercedes the changes from
https://review.opendev.org/c/starlingx/metal/+/850237

Test Plan:

PASS:
- ostree is able to install and backup the repository with the provided
  network settings.
- Full boot and dcmanager subcloud add via sushy emulator in libvirt
  environment (IPv4)
    - subcloud is added with appropriate install values and bootstrapped
      via the generated bootimage.iso
- Full boot and dcmanager subcloud add via redfish in hardware lab
  using IPv6 (Dell hardware only)

Story: 2010118
Task: 45924
Depends-On: https://review.opendev.org/c/starlingx/distcloud/+/851679

Signed-off-by: Kyle MacLeod <kyle.macleod@windriver.com>
Change-Id: Icd1a50985e29841a784c9d339b8717041735c9cf
2022-08-09 13:48:02 -04:00
..
2021-12-10 16:41:42 -05:00
2021-12-10 16:41:42 -05:00
2018-05-31 07:36:43 -07:00