double entries in .config/VirtualBox/oci_config

Postings relating to old VirtualBox pre-releases
Post Reply
stes
Posts: 154
Joined: 28. Apr 2018, 11:07

double entries in .config/VirtualBox/oci_config

Post by stes »

Solaris 11.4 host, 6.0.0_BETA2,REV=2018.11.15.16.59.126642 SUNWvbox

It seems "Cloud Profile Manager" is saving the fields I enter in

~/.config/VirtualBox/oci_config

Now the strange thing is that the entries appear twice in there:

cat .config/VirtualBox/oci_config
[clstes]
compartment=
fingerprint=
key_file=
pass_phrase=
region=
tenancy=
user=
compartment=
fingerprint=
key_file=
pass_phrase=
region=
tenancy=
user=

Note the fact there is just one profile "clstes" but compartement and tenancy etc. appear twice.

Also after filling out the fields in the GUI and clicking Apply this sometimes works (if the entries are stored twice in the config file) and sometimes the fields go blank, but when inspecting the above config file it turns out the field is saved once.
stes
Posts: 154
Joined: 28. Apr 2018, 11:07

Re: double entries in .config/VirtualBox/oci_config

Post by stes »

Deleting the config does not change this:

rm .config/VirtualBox/oci_config

start VirtualBox create cloud profile clstes (empty)

cat .config/VirtualBox/oci_config
[clstes]
compartment=
fingerprint=
key_file=
pass_phrase=
region=
tenancy=
user=
compartment=
fingerprint=
key_file=
pass_phrase=
region=
tenancy=
user=

note the fields user, region etc. appearing twice.

stop VirtualBox

cp oci_config.backup .config/VirtualBox/oci_config

back to the saved files ... when going to "Cloud Profile Manager".

I report this because at least in my experience, the GUI behaves strange for this dialog : if you modify fields and click on 'Apply' the field is sometimes "loosing" its value and going back to empty.
Post Reply