YaST is gone. So what.....? šŸ˜‰

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 :wink:

{
  "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.

3 Likes

(hmm - yet another ā€œyast is goneā€ thread)

Appreciate the effort and providing the technical details to use an Agama Profile :+1:

My opinion … I’d say the average user is going to be overwhelmed by that (or any other) Profile configuration file … and how they should adjust it to match their requirements and hardware, etc.

Heck, even as a retired software engineer of 30+ years, I was thinking, ā€œdo I have to take that route in 2026?ā€ :neutral_face:

1 Like

You don’t, there is a GUI to configure away as well…

I would recommend on your Agama install when your about to press the ā€œInstallā€ button, take a moment to switch to the tty and login as root user. Then run agama config show > my-install.json and save that file somewhere, or just peruse it with agama config show good for a backup of what the installer is going to do and can use as a profile if needing to re-install…

Oh and ctrl+alt+F2 to return to the GUI.

1 Like

The example which Malcolm showed is the equivalent to the old AutoYaST profile. Not much difference except Agama is maintained and AutoYaST profiles are compatible with Agama profiles.

As some ppl here complain that YaST is gone without even checking the basics or even have 3 minutes of documentation read, Malcolm showed one example of his Agama profiles.

2 Likes

Further to what @hui said, you can use those profile bits to setup the system how you want for items that are not/or in the GUI install.

Maybe you run post install scripts, those can be added to a profile, you just need to use the agama config load < some-additional.jsonc from the terminal to take over those parts of your install…

Just an update, so if I create a USB device with it’s label OEMDRV and rename my profile to autoinst.json on the device root. Boot system select to boot the Agama installer and away it all goes…

Ref: https://agama-project.github.io/docs/overview/unattended

Oh I’ve also done an immutable (3 partitions, /boot/efi, / and /var) install profile as well, with selinux, cockpit and gnome patterns and all is well.

Likewise I added the Videolan repository to the profile and it installs the appropriate packages automatically.

Interesting note with flatpak version of cockpit and connecting to the dell660 from my desktop it uses any plugins installed, eg bootloader for example, very nice.

This might be a good article for an average user like me to read:
Life After Yast

2 Likes

I agree - a really good guide.

very useful that link, specially the zypper part for new users like me who do not know much about konsole commands