1

Topic: testing hyperinstaller

{
    "!root-password": "******",
    "bootloader": "grub",
    "devel": false,
    "dry-run": false,
    "harddrives": [
        "/dev/sda"
    ],
    "hostname": "*****",
    "init": "hyperrc",
    "kernels": [
        "linux-libre-lts"
    ],
    "keyboard-layout": "de",
    "mirror-region": {
        "Score: 0.3, Lithuania": {
            "https://repo.hyperbola.info:50013/gnu-plus-linux-libre/old-stable/$repo/os/$arch": true
        }
    },
    "nic": "Copy live network configuration to installation.",
    "ntp": true,
    "packages": [],
    "profile": {
        "path": "/usr/lib/python3.8/site-packages/hyperinstaller/profiles/minimal.py"
    },
    "script": "guided",
    "silent": false,
    "sound": "sndio",
    "sys-encoding": "utf-8",
    "sys-language": "en_US",
    "timezone": "Europe/Berlin"
}
install.log:
...
Creating a new partition labling on /dev/sda
Adding partition to BlockDevice(/dev/sda, size=14.9GB, free_space=16.0GB, bus_type=ata), 1MiB->512MiB
Formatting /dev/sda1 -> fat32
Setting boot on on (parted) partition index 1
Adding partition to BlockDevice(/dev/sda, size=14.9GB, free_space=1048kB+15.5GB, bus_type=ata), 513MiB->7.45GiB

STDERR:
Traceback (most recent call last):
  File "/usr/bin/hyperinstaller", line 11, in <module>
    load_entry_point('hyperinstaller==3.99.0', 'console_scripts', 'hyperinstaller')()
  File "/usr/lib/python3.8/site-packages/hyperinstaller/__init__.py", line 137, in run_as_a_module
    script.execute()
  File "/usr/lib/python3.8/site-packages/hyperinstaller/lib/profiles.py", line 228, in execute
    self.spec.loader.exec_module(sys.modules[self.namespace])
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/hyperinstaller/examples/guided.py", line 580, in <module>
    perform_filesystem_operations()
  File "/usr/lib/python3.8/site-packages/hyperinstaller/examples/guided.py", line 400, in perform_filesystem_operations
    fs.load_layout(
  File "/usr/lib/python3.8/site-packages/hyperinstaller/lib/disk.py", line 1160, in __exit__
    raise args[1]
  File "/usr/lib/python3.8/site-packages/hyperinstaller/examples/guided.py", line 400, in perform_filesystem_operations
    fs.load_layout(
  File "/usr/lib/python3.8/site-packages/hyperinstaller/lib/disk.py", line 1194, in load_layout
    partition['device_instance'] = self.add_partition(
  File "/usr/lib/python3.8/site-packages/hyperinstaller/lib/disk.py", line 1358, in add_partition
    uuid=(
KeyError: 'pop from an empty set'

Tested on real hardware from installer 0.4