- Bump version: 9.17.41 → 9.17.42

- Fixed get_persistent_device_from_unix_node
  The method get_persistent_device_from_unix_node takes a device
  path and looks up it's basename to be present as persistent
  variant below the given schema, e.g by-id. However if the
  method receives an already persistent device path e.g from
  /dev/mapper the persistent schema representation will only
  match a numbered dm-N device and not the map name. The method
  then returns nothing but should return the original device
  path. This caused bad after effects like reported in
  Issue SUSE-Enceladus/azure-li-services#163

- [doc] Add user documentation about the usage of the embedded Vagrantfile
  - Document the usage of the `vagrantconfig.embedded_vagrantfile` attribute
  - Remove the suggestion to generate the ssh keys during image creation (this
  results in **all** boxes having the same ssh host keys, which is pretty
  dangerous if someone would use a vagrant box in a production environment.)
  - Stop recommending veewee, this project is dead
  - Replace forgotten hard coded number with {schema_version}

- Fix test breakage when /etc/kiwi.yml is present
  The unit test for the RuntimeConfig class are also testing the default values in
  some functions. To work around a possibly existing ~/.config/kiwi/config.yml,
  several functions change the value of HOME. This is unfortunately not
  sufficient if a /etc/kiwi.yml exists, as that one is taken as a fallback *if*
  ~/.config/kiwi/config.yml isn't present.
  This issue is fixed by creating a default_runtime_config with os.path.exists
  patched to return False. Thereby none of the runtime configuration files will be
  taken into account.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=143
This commit is contained in:
Marcus Schaefer 2019-07-08 10:24:17 +00:00 committed by Git OBS Bridge
parent 62db469641
commit 45fe10bac1
3 changed files with 63 additions and 3 deletions

View File

@ -1,3 +1,63 @@
-------------------------------------------------------------------
Mon Jul 08 12:05:47 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.17.41 → 9.17.42
-------------------------------------------------------------------
Mon Jul 08 11:11:12 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Fixed get_persistent_device_from_unix_node
The method get_persistent_device_from_unix_node takes a device
path and looks up it's basename to be present as persistent
variant below the given schema, e.g by-id. However if the
method receives an already persistent device path e.g from
/dev/mapper the persistent schema representation will only
match a numbered dm-N device and not the map name. The method
then returns nothing but should return the original device
path. This caused bad after effects like reported in
Issue SUSE-Enceladus/azure-li-services#163
-------------------------------------------------------------------
Fri Jul 05 11:23:02 CEST 2019 - Dan Čermák <dcermak@suse.com>
- [doc] Add user documentation about the usage of the embedded Vagrantfile
- Document the usage of the `vagrantconfig.embedded_vagrantfile` attribute
- Remove the suggestion to generate the ssh keys during image creation (this
results in **all** boxes having the same ssh host keys, which is pretty
dangerous if someone would use a vagrant box in a production environment.)
- Stop recommending veewee, this project is dead
- Replace forgotten hard coded number with {schema_version}
-------------------------------------------------------------------
Thu Jul 04 14:31:55 CEST 2019 - Dan Čermák <dcermak@suse.com>
- Fix test breakage when /etc/kiwi.yml is present
The unit test for the RuntimeConfig class are also testing the default values in
some functions. To work around a possibly existing ~/.config/kiwi/config.yml,
several functions change the value of HOME. This is unfortunately not
sufficient if a /etc/kiwi.yml exists, as that one is taken as a fallback *if*
~/.config/kiwi/config.yml isn't present.
This issue is fixed by creating a default_runtime_config with os.path.exists
patched to return False. Thereby none of the runtime configuration files will be
taken into account.
-------------------------------------------------------------------
Thu Jul 04 14:24:01 CEST 2019 - Dan Čermák <dcermak@suse.com>
- Add embedded_vagrantfile attribute to vagrantconfig
This element allows the user to specify a relative path to an alternative
Vagrantfile that will be embedded inside the finished Vagrant box.
- update XML schema
- add additional logic to DiskFormatVagrantBase.create_image_format
- add unit test for the custom Vagrantfile
- fix other vagrant unit tests
-------------------------------------------------------------------
Thu Jul 04 10:15:57 CEST 2019 - Marcus Schäfer <ms@suse.de>

View File

@ -45,7 +45,7 @@
%endif
Name: python-kiwi
Version: 9.17.41
Version: 9.17.42
Provides: kiwi-schema = 6.6
Release: 0
Url: https://github.com/SUSE/kiwi

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:242cade8a48eb511dd3b3dd5f1133b11ee285f24290f379ad70b025b18174e98
size 1614210
oid sha256:e8c89bc92b98be25345065aeaeeb2c0589698b5c45d7330cee1f9ce52c53798d
size 1617060