Commit Graph

1305 Commits

Author SHA1 Message Date
Marcus Schäfer
a67c4e884e Bump version: 8.29.4 → 8.29.5 2017-01-26 11:37:28 +01:00
Marcus Schäfer
e612e4e5cf
Fixup setupMachineID
Cleaning up existing machine id files by deleting them
causes an interactive session to be started by systemd
This is something we don't want. As the consequences
of touching the machine id files seems to be too critical
the method has been turned into a hook caller. This
allows the user to make use of it on their own purpose
and by default doesn't mess with the machine id files
2017-01-26 11:35:13 +01:00
Marcus Schäfer
2dc0c9154a Bump version: 8.29.3 → 8.29.4 2017-01-24 09:47:48 +01:00
Marcus Schäfer
df77ebefae
Change processing of setupMachineID
Instead of creating new machine ids for systemd and dbus
the method now cleans up all existing machine ids and
leave it up to systemd to initialize and create new ids.
This allows to make use of the native way how systemd
retrieves and handles machine ids
2017-01-24 09:46:13 +01:00
Marcus Schäfer
57769bca44
Fixup typo in ReST style 2017-01-24 09:40:58 +01:00
Marcus Schäfer
78635b885c Bump version: 8.29.2 → 8.29.3 2017-01-24 09:17:49 +01:00
Marcus Schäfer
f517d250c7 Merge pull request #227 from SUSE/sysconfig_bootloader
Sysconfig bootloader
2017-01-24 09:17:04 +01:00
Marcus Schäfer
6c69f1c5e7
Add utils.sysconfig to api documentation 2017-01-23 17:25:39 +01:00
Marcus Schäfer
374be7c042 Completion for grub bootloader configuration
The configuration files /etc/sysconfig/bootloader and
/etc/default/grub needs to be created/updated with the
relevant values regarding the bootloader setup done by
kiwi. This Fixes #226
2017-01-23 17:24:04 +01:00
Marcus Schäfer
1b34c67ba0 Merge pull request #225 from SUSE/btrfs_filesystem_attributes
Btrfs filesystem attributes
2017-01-22 21:14:20 +01:00
Marcus Schäfer
5c5fb719ea
Apply volume attributes for btrfs and lvm
The chattr utility is used to apply file attributes
So far only the no-copy-on-write attribute can be
specified in a volume setup. If further attributes
are needed they will be added on demand
2017-01-20 16:00:59 +01:00
Marcus Schäfer
2411c3352d Added attributes element in volume type 2017-01-20 10:26:14 +01:00
Marcus Schäfer
fc7b2ada67 Added volume attribute copy_on_write
The copy_on_write attribute allows to activate or deactivate
the copy on write functionality for the desired volume.
This Fixes #218
2017-01-20 10:24:31 +01:00
Marcus Schäfer
88686d3253
Make sure there is a storage default setup on s390
Storage disks on s390 requires an information about the
type and the blocksize. In case these information is not
provided in the kiwi XML configuration, None was set as
value in the zipl configuration which lead to an error.
This commit provides default values for those parameters
2017-01-19 14:47:27 +01:00
Marcus Schäfer
fedc700758 Bump version: 8.29.1 → 8.29.2 2017-01-18 14:40:29 +01:00
Marcus Schäfer
99e108feec Merge pull request #223 from SUSE/oem-unattended-unix-device
Allow unix device names in oem-unattended-id setup
2017-01-18 14:33:23 +01:00
Marcus Schäfer
0cbd2a7f89 Merge pull request #222 from SUSE/dbus_id
Make sure setupMachineID also cares for dbus
2017-01-18 14:31:27 +01:00
Marcus Schäfer
ab8c6efbd7 Merge pull request #220 from SUSE/subvolume_mountpoints_hierarchy
Adapt mountpoint to the default toplevel subvolume
2017-01-18 14:30:48 +01:00
David Cassany
6029c81a91 Fixup duplication of btrfs toplevel volume
If using root btrfs snapshot, the default toplevel subvolume is set to
/@/.snapshots/1/snapshot, thus all defined subvolumes are mounted
under that cusomized default subvolume. For the first time
subvolumes are mounted it is fine to include /@/.snapshots/1/snapshot
prefix as root is not yet set to that specific path, however in any
future mount this path prefix is not needed any more, as the root
get mounted in /@/.snapshots/1/snapshot by default. Fixes (bsc#1015549)
2017-01-18 14:29:29 +01:00
Marcus Schäfer
0cfd4cca5e
Allow unix device names in oem-unattended-id setup
In order to allow a raw device name in oem-unattended-id
the /dev tree has been added to search list. This is useful
if e.g a ramdisk device which is not part of any /dev/disk/...
or /dev/mapper device map should be used as target disk for
the deployment. Thus a setup to stick the deployment to
e.g /dev/ram1 would look like this

<oem-unattended-id>ram1</oem-unattended-id>

This Fixes #221
2017-01-17 16:21:15 +01:00
Marcus Schäfer
387970a761
Don't delete ip tools from oemboot
network tools are needed for oem disk deployment via pxe
2017-01-17 16:05:45 +01:00
Marcus Schäfer
7d27eed783 Make sure setupMachineID also cares for dbus
Systemd and dbus should use the same machine-id. Therefore
a symlink /var/lib/dbus/machine-id pointing to /etc/machine-id
is created right after systemd-machine-id-setup. Fixes #219
2017-01-17 12:09:35 +01:00
Marcus Schäfer
987ffd22e2
Added .coveragerc
Clearly indicate which source files are excluded from the
coverage report
2017-01-17 12:08:41 +01:00
Marcus Schäfer
2c85f13ccd Bump version: 8.29.0 → 8.29.1 2017-01-10 14:19:22 +01:00
Marcus Schäfer
b77fc4ef93
Rebuild schema documentation 2017-01-10 14:14:17 +01:00
Marcus Schäfer
661c12c191 Bump version: 8.28.3 → 8.29.0 2017-01-10 13:51:47 +01:00
Marcus Schäfer
588fd89c81 Merge pull request #215 from SUSE/docker_type_attributes
Docker type attributes
2017-01-10 13:48:01 +01:00
Marcus Schäfer
83fa960d09 Merge pull request #217 from SUSE/config_after_include_repos
Running config.sh after including the image repositories
2017-01-10 08:42:02 +01:00
David Cassany
ce6d47a15d Running config.sh after including the image repositories
This commit rearranges some code lines in order to run the config.sh
script after the repositories of the image have been included, this
way repositories can be trusted and refreshed in config.sh script.
2017-01-09 18:33:38 +01:00
Marcus Schäfer
760c88682f
Update container builder code to new schema layout 2017-01-09 11:30:01 +01:00
Marcus Schäfer
3c7ba8b924
Auto update image descriptions to schema v6.5 2017-01-09 11:04:10 +01:00
Marcus Schäfer
b7f7fa11eb
Update schema for container setup
In preparation to support creation of native docker containers the
way docker likes it, the kiwi schema has to be adapted. So far there
was no way to specify additional metadata information for containers.
With this commit a new section called <containerconfig> is provided.
containerconfig is a subsection of the type and only allowed for
the docker image type. This constraint is checked via a schematron
rule. In addition an xslt stylesheet moves the currently existing
container attribute, which was used to set a name for the container,
into the new containerconfig section as name attribute
2017-01-09 10:52:41 +01:00
Marcus Schäfer
41a1f2f613 Bump version: 8.28.2 → 8.28.3 2016-12-20 10:58:04 +01:00
Marcus Schäfer
02cdfaddb6
Fixed quadruple_token tokenizer
Information not provided should end up as a None type in the
list in any case. If an empty string was provided via e.g
--add-repo source,type,, the tokenizer puts in an empty string.
If the information was provided as --add-repo source,type a
None type was used. The code handling the information expected
a None type for not provided information, with an empty string
we end up in validation code which e,g complains that an empty
string can't be converted into an integer base repo priority
2016-12-20 10:53:31 +01:00
Marcus Schäfer
6fd8c86fab Bump version: 8.28.1 → 8.28.2 2016-12-18 19:57:43 +01:00
Marcus Schäfer
13a8fc5721
Update documentation
Default provider must be set in the caller environment if
different from the default docker provider
2016-12-18 19:56:32 +01:00
Marcus Schäfer
dbc044352a Bump version: 8.28.0 → 8.28.1 2016-12-16 17:11:33 +01:00
Marcus Schäfer
985699d5dd
Update container builder documentation
Add information about the now available kiwi build box
and the use of it as part of libvirt provider setup for
vagrant
2016-12-16 17:10:35 +01:00
Marcus Schäfer
8dc7fda31d Bump version: 8.27.5 → 8.28.0 2016-12-15 12:09:49 +01:00
Marcus Schäfer
5cfaea4431 Merge pull request #212 from SUSE/vagrant_box_support_libvirt_provider
Vagrant box support libvirt provider
2016-12-15 12:08:37 +01:00
Marcus Schäfer
b84e3b9fe0 Bump version: 8.27.4 → 8.27.5 2016-12-13 14:36:23 +01:00
Marcus Schäfer
691f42f3e6
Fixup spec file build requires
shadow tools are needed for %pre tasks using
groupadd/useradd tools
2016-12-13 14:35:48 +01:00
Marcus Schäfer
dec6e91187 Bump version: 8.27.3 → 8.27.4 2016-12-13 12:17:37 +01:00
Marcus Schäfer
f549b03886 Added DiskFormatVagrantLibVirt class
Allow to build vagrant boxes for the libvirt provider
This Fixes #15
2016-12-12 11:27:19 +01:00
Marcus Schäfer
71be75e728 Update vagrantconfig schema setup
Delete the virtualbox provider, As long as there is no
opensource variant for the ovf creation available we won't
support that provider
2016-12-12 11:18:58 +01:00
Marcus Schäfer
035f4d1022
Fixup spec file tftp group/user setup
Let %pre fail if groupadd/useradd failed and show the error
to the user
2016-12-12 11:05:10 +01:00
Marcus Schäfer
7510e16974 Bump version: 8.27.2 → 8.27.3 2016-12-07 16:55:40 +01:00
Marcus Schäfer
3b7826029d Merge pull request #211 from SUSE/read_the_docs_theme
Read the docs theme
2016-12-07 16:54:45 +01:00
Marcus Schäfer
6a9abc77b6
Adapt documentation to rtd schema
replace topic node used for abstract by a hint. This results
in a color box for the abstract which looks better than what
rtd does with simple topics
2016-12-06 18:55:59 +01:00
Marcus Schäfer
5dacaad9cb
Adapt schema generator to rtd doc schema 2016-12-06 18:55:37 +01:00