Skip to content

Instantly share code, notes, and snippets.

test
packer {
required_version = ">= 1.7.0"
required_plugins {
qemu = {
version = "~> 1.0"
source = "github.com/hashicorp/qemu"
}
}
}
@AlexVlan
AlexVlan / gist:f5217a2064359e0004ff3a492a8b7fd0
Created September 30, 2024 15:08
redos-7.ks.pkrtpl.hcl
# Generated by Anaconda 33.25.4
# Generated by pykickstart v3.30
#version=F33
# url --url https://repo1.red-soft.ru/redos/7.3/x86_64/os/
# repo --name="Updates" --baseurl='https://repo1.red-soft.ru/redos/7.3/x86_64/updates/'
# repo --name="Extras" --baseurl='https://repo1.red-soft.ru/redos/7.3/x86_64/extras/'
# Repositories
url --url=https://repo1.red-soft.ru/redos/7.3/x86_64/os
# ,https://mirror.yandex.ru/redos/7.3/x86_64/os,http://repo.red-soft.ru/redos/7.3/x86_64/os
rm -f -rf output-redos-7 redos-7.tar.gz
packer init redos-7.pkr.hcl && packer build -var timeout=1h redos-7.pkr.hcl
2024/09/30 16:03:00 [INFO] Packer version: 1.11.2 [go1.21.12 linux amd64]
2024/09/30 16:03:00 [INFO] PACKER_CONFIG env var not set; checking the default config file path
2024/09/30 16:03:00 [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2024/09/30 16:03:00 [WARN] Config file doesn't exist: /root/.packerconfig
2024/09/30 16:03:00 [INFO] Setting cache directory: /root/.cache/packer
2024/09/30 16:03:00 [TRACE] init: plugingetter.ListInstallationsOptions{PluginDirectory:"/root/.config/packer/plugins", BinaryInstallationOptions:plugingetter.BinaryInstallationOptions{APIVersionMajor:"5", APIVersionMinor:"0", OS:"linux", ARCH:"amd64", Ext:"", Checksummers:[]plugingetter.Checksummer{plugingetter.Checksummer{Type:"sha256", Hash:(*sha256.digest)(0xc00071e000)}}, ReleasesOnly:true}}
2024/09/30 16:03:00 [TRACE] listing potential installations for "github.com/hashicorp/
@AlexVlan
AlexVlan / gist:8b4b550a6bcb5f979e9d31794439c6bb
Created September 30, 2024 15:16
full_install_os_log_redos_maas.log
curtin: Installation started. (23.1.1-1100-g95345797-0ubuntu1~ubuntu22.04.1)
third party drivers not installed or necessary.
start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'QEMU HARDDISK', 'name': 'sda', 'ptable': 'gpt', 'serial': 'drive-scsi0', 'type': 'disk', 'wipe': 'superblock'})
Processing serial drive-scsi0 via udev to drive-scsi0
lookup_disks found: ['scsi-0QEMU_QEMU_HARDDISK_drive-scsi0', 'scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part1', 'scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part2']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
@AlexVlan
AlexVlan / gist:3f5fd0021c603bed859346b6364ba969
Created October 1, 2024 07:21
/boot/config-$(uname -r)
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.15.0-122-generic Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=110400
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=23800