Agama and profiles are hereā¦
Ref: https://agama-project.github.io/docs/user/profile/working_with_profiles
System and Setup;
Dell Inspiron 660
CPU: i5-3340
RAM: 16GB
DISK: 128GB M.2 SSD (PCIe X1 adaptor) 2GB for /boot/efi and the rest for /
Be aware this is a test system with no data and a pure fresh install!!!
Simple Agama Profile example to get a bootable system running Leap 16.1 ![]()
{
"bootloader": {
"timeout": 1,
"extraKernelParams": "security=selinux intel_iommu=on intel_pstate=passive loglevel=2 "
},
"hostname": {
"static": "dell660",
"hostname": "dell660"
},
"l10n": {
"locale": "en_US.UTF-8",
"keymap": "us",
"timezone": "America/Chicago"
},
"product": {
"id": "openSUSE_Leap",
"mode": "standard"
},
"network": {
"connections": [
{
"id": "STATIC_IP",
"method4": "manual",
"gateway4": "xxx.xxx.xxx.xxx",
"method6": "disabled",
"addresses": [
"xxx.xxx.xxx.xxx/24"
],
"nameservers": [
"208.67.222.222",
"208.67.220.220",
"8.8.8.8"
],
"dnsSearchList": [
"mylocal.domain"
],
"interface": "p4p1",
"status": "up"
}
]
},
"files": [
{
"destination": "/etc/chrony.d/01-pool.conf",
"content": "server time-a.nist.gov iburst\u000D\u000Aserver time-b.nist.gov iburst"
}
],
"storage": {
"boot": {
"configure": true
},
"drives": [
{
"partitions": [
{
"filesystem": {
"label": "ESP",
"mountOptions": [],
"path": "/boot/efi",
"reuseIfPossible": false,
"type": "vfat"
},
"id": "esp",
"size": {
"max": 2147483648,
"min": 2147483648
}
},
{
"filesystem": {
"label": "LP161-110326",
"mountOptions": [],
"path": "/",
"reuseIfPossible": false,
"type": "ext4"
},
"size": {
"min": 10737418240
}
},
{
"delete": true,
"search": {
"ifNotFound": "skip"
}
}
],
"search": {
"condition": {
"name": "/dev/sda"
},
"ifNotFound": "error"
}
}
],
"mdRaids": [],
"volumeGroups": []
},
"software": {
"patterns": [ "selinux" ],
"packages": [ "btop", "gptfdisk", "chrony-pool-empty", "fwupd" ],
"remove": [ "*plymouth*", "*libply*" ]
},
"user": {
"fullName": "User Name",
"password": "See <https://agama-project.github.io/docs/user/reference/profile/users>",
"hashedPassword": true,
"userName": "username"
},
"root": {
"password": "See <https://agama-project.github.io/docs/user/reference/profile/users>",
"hashedPassword": true,
"sshPublicKeys": "ssh-ed25519 ..... user@host"
}
}
The above profile was saved as dell660-profile.json
What did I do after creating and saving the profile?
Download the Agama installer image and sha256sum and checked;
wget https://download.opensuse.org/distribution/leap/16.1/installer/iso/agama-installer.x86_64-24.0.0-Leap_16.1-Build60.2.iso{,.sha256}
sha256sum -c agama-installer.x86_64-24.0.0-Leap_16.1-Build60.2.iso.sha256
agama-installer.x86_64-24.0.0-Leap_16.1-Build60.2.iso: OK
Now I add a password for the installer for ssh access if needed;
tagmedia --add-tag "live_password=$((openssl passwd -6) | base64 -w 0)" agama-installer.x86_64-24.0.0-Leap_16.1-Build60.2.iso
Then as root user using imagewriter (or dd) copy the image to a USB device to boot;
dd if=agama-installer.x86_64-24.0.0-Leap_16.1-Build60.2.iso of=/dev/sdc bs=4M iflag=fullblock oflag=direct status=progress; sync
Then copied the above profile to a secondary USB device formatted in this case exfat (just because thatās what it wasā¦)
Then plug in the two USB devices, power on the system and access the boot menu (On this Dell Inspiron F12) and boot the Agama Installer.
Now at grub, press the āeā key to edit and arrow down to the ālinuxā line, press the āendā key and add;
inst.auto=usb:///dell660-profile.json
Then press F10 to boot the system, system will boot and all going well, the install starts⦠go make a coffee, come back to your loginā¦
Note: Iāve used the above chrony config for some time (albeit a local server), but there is now a ntp option available.