Hi Marcus
A few things were tried.
Nothing worked so far.
boxroot created in --descripton directory with files etc/environment and etc/sysconfig/proxy
1.
Having added the proxy and user/password information in /etc/sysconfig/proxy
Allowed for: at the debug shell add an OBS repo and use it.
The kiwi build still failed with KiwiUriOpenError.
localhost:~ # env |grep -i proxy ( showed no proxy variables, yet repo worked)
This failed directly after adding the repo successfully :
kiwi-ng --logfile /bundle/result.log --type iso system build --set-repo obs://openSUSE:Leap:15.3/standard --description /description --target-dir /result
2. Next:
Typing exit at the debug prompt.
localhost:~ # exit
re-logged in to a prompt and doing an env there showed the proxy settings.
localhost:~ # env | grep -i proxy ( proxy settings present )
/etc/profile.d/profile.sh seems to have executed and set the variables.
Doing the build manually now worked. (proxy variables set)
localhost:~ # kiwi-ng --logfile /bundle/result.log --type iso system build --set-repo obs://openSUSE:Leap:15.3/standard --description /description --target-dir /result
....
[ INFO ]: 07:38:12 | Result files:
[ INFO ]: 07:38:12 | --> image_changes: /result/Leap-15.3_appliance.x86_64-1.15.3.changes
[ INFO ]: 07:38:12 | --> image_packages: /result/Leap-15.3_appliance.x86_64-1.15.3.packages
[ INFO ]: 07:38:12 | --> image_verified: /result/Leap-15.3_appliance.x86_64-1.15.3.verified
[ INFO ]: 07:38:12 | --> live_image: /result/Leap-15.3_appliance.x86_64-1.15.3.iso
[ INFO ]: 07:38:12 | Cleaning up BootImageDracut instance
3.
It seems that the "automatic login" does not 'load' the proxy settings from
either /etc/environment or /etc/sysconfig/proxy for the build in the qemu image.
[ OK ] Started wicked network nanny service.
Starting wicked managed network interfaces...
[ 6.157716] No iBFT detected.
[ 6.181122] NET: Registered protocol family 17
localhost login: root (automatic login)
Have a lot of fun...
localhost:~ # + declare custom_mount=
+ declare kiwi_version=
+ trap finish EXIT
.
.
Regards,
Jan