• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agama-project / agama / 16497929274

24 Jul 2025 01:15PM UTC coverage: 53.728% (-0.002%) from 53.73%
16497929274

push

github

web-flow
Added "--insecure" option to "agama config load" and "agama config generate" commands (#2610)

## Problem

- Agama does not allow to disable SSL certificate check for `inst.auto`
and `inst.script` boot options
- https://bugzilla.suse.com/show_bug.cgi?id=1246836

## Solution

- This is the first step, add `--insecure` option to `agama config load`
and `agama config generate` commands which are internally used for these
boot options
- Use the global `--insecure` option

## Testing

- Tested manually

```console
agama:~ # agama config generate https://192.168.1.8:4433/auto.json
Retrieving data from URL https://192.168.1.8:4433/auto.json

Caused by:
    0: Could not retrieve https://192.168.1.8:4433/auto.json
    1: [60] SSL peer certificate or SSH remote key was not OK (SSL certificate problem: self-signed certificate)
agama:~ # agama --insecure config generate https://192.168.1.8:4433/auto.json
{
  "user": {
    "fullName": "test",
    "password": "test",
    "hashedPassword": false,
    "userName": "test"
  },
  "root": {
    "password": "linux",
    "hashedPassword": false
  },
  "product": {
    "id": "Tumbleweed"
  }
}
✓ The profile is valid.

agama:~ # agama config load https://192.168.1.8:4433/auto.json
Retrieving data from URL https://192.168.1.8:4433/auto.json

Caused by:
    0: Could not retrieve https://192.168.1.8:4433/auto.json
    1: [60] SSL peer certificate or SSH remote key was not OK (SSL certificate problem: self-signed certificate)
agama:~ # agama --insecure config load https://192.168.1.8:4433/auto.json
✓ The profile is valid.

[1/2] Analyze disks
[2/2] Configure software
```

2135 of 3884 branches covered (54.97%)

Branch coverage included in aggregate %.

0 of 11 new or added lines in 3 files covered. (0.0%)

1 existing line in 1 file now uncovered.

13588 of 25380 relevant lines covered (53.54%)

43.34 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/rust/agama-cli/src/cli_input.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc