agama-project / agama

A service-based Linux installer
https://agama-project.github.io/
GNU General Public License v2.0
142 stars 43 forks source link

Agama fails to load a profile that has a network section #1701

Closed serock closed 1 week ago

serock commented 1 week ago

I'm running Agama inside of Virtualbox 7.0.18 on openSUSE Leap 15.6. I tried using the Agama CLI from the latest Live ISO (agama-installer.x86_64-10.0.0-openSUSE-Build25.145.iso) to load a profile. If the profile has a network section, the profile fails to load:

agama:~ # agama profile validate n.json
The profile is valid
agama:~ # agama config load < n.json
Anyhow(Backend call failed with status 405 and text '')

The n.json profile that I'm trying to load is:

{
  "user": {
    "fullName": "Jane Doe",
    "userName": "jane.doe",
    "password": "123456"
  },
  "product": {
    "id": "Tumbleweed"
  },
  "localization": {
    "language": "en_US.UTF-8",
    "keyboard": "us",
    "timezone": "America/New_York"
  },
  "network": {
    "connections": [
      {
        "id": "Wired connection 1"
      }
    ]
  }
}

If I remove the network section, Agama loads the profile.

imobachgs commented 1 week ago

Thanks for your report. #1702 should fix this issue. It should be available today in the openSUSE image.