Brian C. Lane
f74a5cc4a6
mkksiso: Add a tool to add a kickstart to an existing boot.iso
...
This tool will add the kickstart to the boot.iso, edit the kernel boot
arguments so that the kickstart is used when the iso boots, as well as
allow adding extra files and directories to the / of the iso which can
then be used by the kickstart (they are found under /run/install/repo
while Anaconda is running).
2019-11-05 11:09:42 -08:00
Brian C. Lane
51ce751b16
Automatic commit of package [lorax] release [32.1-1].
...
Created by command:
/bin/tito tag
2019-10-16 14:33:16 -07:00
Brian C. Lane
a414988ee8
composer-cli: Add support for upload command
...
This allows the user to start an upload, get info about a specific
upload, and to cancel, reset, or delete an upload.
2019-10-16 09:17:54 -07:00
Brian C. Lane
c2620b0c85
lifted: Add support for AWS upload
...
This uses a new Ansible module, ec2_snapshot_import, which is included
here until it is available from upstream.
It will upload the AMI to s3, convert it to a snapshot, and then
register the snapshot as an AMI. The s3 object is deleted when it has
been successfully uploaded.
2019-10-16 09:17:54 -07:00
Brian C. Lane
4da569442c
tests: Add tests for the new lifted module
...
These tests cover most of the module's functions, except for the queue
monitor, and the actual execution of the playbooks.
2019-10-16 09:17:53 -07:00
Brian C. Lane
6cebc3da88
Automatic commit of package [lorax] release [32.0-1].
...
Created by command:
/bin/tito tag --keep-version
2019-09-30 16:56:49 -07:00
Brian C. Lane
584cad72a0
Automatic commit of package [lorax] release [31.10-1].
...
Created by command:
/bin/tito tag
2019-08-20 17:30:10 -07:00
Brian C. Lane
12e632a058
Automatic commit of package [lorax] release [31.9-1].
...
Created by command:
/bin/tito tag
2019-07-29 15:19:33 -07:00
Brian C. Lane
dc98837667
Automatic commit of package [lorax] release [31.8-1].
...
Created by command:
/bin/tito tag
2019-06-28 10:53:28 -07:00
Brian C. Lane
c1aa57022b
Automatic commit of package [lorax] release [31.7-1].
...
Created by command:
/bin/tito tag
2019-06-18 15:09:32 -07:00
Brian C. Lane
abe7df34fc
Switch to new toml library
...
The previous library, pytoml from https://github.com/avakar/pytoml is no
longer supported. So this adds a compatibility layer on top of the
suggested replacement, toml from https://github.com/uiri/toml
2019-06-18 14:01:15 -07:00
Brian C. Lane
5d05deae64
Automatic commit of package [lorax] release [31.6-1].
...
Created by command:
/bin/tito tag
2019-05-16 10:37:59 -07:00
Brian C. Lane
2949edf733
Create a lorax-docs package with the html docs
...
Also include the other top level .rst docs in the main lorax package.
Resolves: rhbz#1695274
2019-05-09 15:19:15 -07:00
Brian C. Lane
947cbb1b84
Automatic commit of package [lorax] release [31.5-1].
...
Created by command:
/bin/tito tag
2019-05-07 11:51:15 -07:00
Brian C. Lane
d4d050496b
Replace isoinfo with pycdlib
...
isoinfo is part of genisoimage, which we no longer use, switch to using
a python library to read the label from the iso.
2019-05-07 11:22:02 -07:00
Brian C. Lane
40d3055229
Automatic commit of package [lorax] release [31.4-1].
...
Created by command:
/bin/tito tag
2019-05-02 17:03:11 -07:00
Brian C. Lane
9c39e73969
Automatic commit of package [lorax] release [31.3-1].
...
Created by command:
/bin/tito tag
2019-04-05 16:01:26 -07:00
Kyle Walker
613d91299d
Correct "recipes" use to "blueprints" in composer-cli description
...
The original "recipes" term is indicated in the composer-cli description,
but the identifier has been changed to "blueprints" with later releases.
This commit changes the string to "blueprints".
2019-04-05 15:06:19 -07:00
Brian C. Lane
3d3dda1400
Automatic commit of package [lorax] release [31.2-1].
...
Created by command:
/bin/tito tag
2019-04-01 11:25:58 -07:00
Brian C. Lane
1855ffeb8e
Automatic commit of package [lorax] release [31.1-1].
...
Created by command:
/bin/tito tag
2019-03-26 14:14:27 -07:00
Brian C. Lane
33498b8a87
Automatic commit of package [lorax] release [31.0-1].
...
Created by command:
/bin/tito tag --keep-version
2019-03-15 11:39:39 -07:00
Brian C. Lane
cd8c884adb
Add repos.git support to lorax-composer builds
...
This hooks up creation of the rpm to the build, adds it to the
kickstart, and passes the url to Anaconda. The dnf repo with the rpms is
created under the results directory so it will be included when
downloading the build's results.
2019-03-15 11:18:12 -07:00
Brian C. Lane
11955f0550
Automatic commit of package [lorax] release [30.16-1].
...
Created by command:
/bin/tito tag
2019-02-25 14:43:09 -08:00
Brian C. Lane
387a71e4cd
Automatic commit of package [lorax] release [30.15-1].
...
Created by command:
/bin/tito tag
2019-02-15 10:41:03 -08:00
Brian C. Lane
7e78dc368f
Remove 3G minimum from lorax-composer
...
The reason for the 3G minimum was because anaconda had a bug with how it
calculated minimum disk size when using kickstart. The gix for this has
been in Anaconda since 29.19-1, so we can now remove our limit and
create somewhat smaller disk images.
2019-02-14 15:20:50 -08:00
Brian C. Lane
7f562db31f
Move manpages into the correct subpackages
2019-02-12 09:33:46 -08:00
Lars Karlitski
e194b5926c
Pass ssl certificate options to anaconda
...
If a repository has `sslcacert`, `sslclientcert`, or `ssclientkey` set,
pass them to anaconda through the kickstart file. This is mostly the
case when using RHEL repositories that are accessed through a
subscription.
2019-02-11 16:20:39 -08:00
Brian C. Lane
069c1faa4f
Automatic commit of package [lorax] release [30.14-1].
...
Created by command:
/bin/tito tag
2019-01-31 08:16:25 -08:00
Brian C. Lane
24a1a345ab
xorrisofs is provided by the xorriso package
2019-01-31 08:16:09 -08:00
Igor Gnatenko
5217215c4b
Remove obsolete Group tag
...
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-30 11:56:48 -08:00
Brian C. Lane
008911d938
Automatic commit of package [lorax] release [30.13-1].
...
Created by command:
/bin/tito tag
2019-01-30 11:55:30 -08:00
Brian C. Lane
2a3c41e1ce
Use xorrisofs instead of mkisofs
...
Update the templates to use xorrisofs, require the newer version of
syslinux and syslinux-nonlinux.
This closes issue #326
2019-01-29 14:01:05 -08:00
Brian C. Lane
e4fe1aab32
lorax: Move default tmp dir to /var/tmp/lorax
...
If systemd's tmpfiles.d timer is executed while lorax is running it will
remove any files and directories older than 30 days. This is what has
been causing the occasional error where /proc/ would seem to vanish
during the install.
Upstream has proposed this solution, https://github.com/systemd/systemd/pull/11482
but until that is released we need a work-around to protect the lorax
files.
This commit does several things:
* Move the default tmpdir from /var/tmp/ to /var/tmp/lorax/
* Add a lorax.conf tmpfiles.d file that prevents systemd-tmpfiles from
removing anything under /var/tmp/lorax/
* Add an exit handler to lorax so that temporary directories are removed on
exit or on a python traceback.
* Use flock to lock access to the tempdir while lorax is running.
* Remove any unlocked tempdirs named /var/tmp/lorax/lorax.* at startup
Note that the exit handler will not remove the tempdir if lorax is
killed with a signal -- those are being caught by dnf and prevent the
exit handler from running.
systemd-tmpfiles cannot clean up the tempdirs at boot time because they
contain files labeled as shadow_t, so we have to remove those when lorax
runs. It uses the flock to prevent removing any directories created by
parallel instances of lorax and only removes ones that are unlocked.
Worst case they will be around until the first run of lorax after a
reboot.
If you want to keep the working directory around for debugging purposes
use --workdir /var/tmp/lorax/my-workdir and it won't be removed by
lorax.
2019-01-29 13:57:12 -08:00
Brian C. Lane
612f043b51
Automatic commit of package [lorax] release [30.12-1].
...
Created by command:
/bin/tito tag
2019-01-18 09:15:37 -08:00
Brian C. Lane
4885434ac9
Automatic commit of package [lorax] release [30.11-1].
...
Created by command:
/bin/tito tag
2019-01-18 09:10:12 -08:00
Brian C. Lane
f9ade497d3
Automatic commit of package [lorax] release [30.10-1].
...
Created by command:
/bin/tito tag
2019-01-08 11:38:50 -08:00
Dan Horák
f9de60b2b7
drop ppc/ppc64 from spec
2019-01-07 13:52:46 -08:00
Brian C. Lane
3d1d79eea5
Automatic commit of package [lorax] release [30.9-1].
...
Created by command:
/bin/tito tag
2018-12-17 16:42:57 -08:00
Brian C. Lane
6524bb0985
Automatic commit of package [lorax] release [30.8-1].
...
Created by command:
/bin/tito tag
2018-12-06 16:09:24 -08:00
Brian C. Lane
14ae0fcac9
Automatic commit of package [lorax] release [30.7-1].
...
Created by command:
/bin/tito tag
2018-11-29 13:55:49 -08:00
Brian C. Lane
063a1770e1
Add tests for pylorax.imgutils
...
Some of these can only run as root on a real system with access to loop
devices. They are skipped when running in a container.
2018-11-12 11:13:37 -08:00
Brian C. Lane
59d8c91ae5
Automatic commit of package [lorax] release [30.6-1].
...
Created by command:
/usr/bin/tito tag
2018-10-29 16:07:41 -07:00
Brian C. Lane
4e0c7b3fba
Automatic commit of package [lorax] release [30.5-1].
...
Created by command:
/usr/bin/tito tag
2018-10-12 15:56:25 -07:00
Brian C. Lane
7cc6e86299
Automatic commit of package [lorax] release [30.4-1].
...
Created by command:
/usr/bin/tito tag
2018-10-09 11:26:49 -07:00
Brian C. Lane
69a2835387
Automatic commit of package [lorax] release [30.3-1].
...
Created by command:
/usr/bin/tito tag
2018-10-08 15:38:59 -07:00
Brian C. Lane
c017300ad6
Revert "Rename composer-cli to composer"
...
This reverts commit c9be91c879
.
It conflicts with the PHP dependency manager project named 'composer'
2018-10-08 09:23:47 -07:00
Brian C. Lane
9087de3c86
Automatic commit of package [lorax] release [30.2-1].
...
Created by command:
/usr/bin/tito tag
2018-10-05 14:41:45 -07:00
Brian C. Lane
c7b0644ee5
Automatic commit of package [lorax] release [30.1-1].
...
Created by command:
/usr/bin/tito tag
2018-10-03 16:54:30 -07:00
Brian C. Lane
edc5490a99
Automatic commit of package [lorax] release [30.0-1].
...
Created by command:
/usr/bin/tito tag --keep-version
2018-10-02 16:41:19 -07:00
Lars Karlitski
c9be91c879
Rename composer-cli to composer
2018-09-20 12:02:03 +03:00
Brian C. Lane
e129c4c4f5
Automatic commit of package [lorax] release [29.15-1].
...
Created by command:
/usr/bin/tito tag
2018-09-07 10:05:39 -07:00
Brian C. Lane
d514696880
Need to explicitly require python3-librepo ( #1626413 )
...
python3-dnf no longer requires it, so add it to lorax.spec
2018-09-07 09:03:30 -07:00
Brian C. Lane
40b3eda232
Automatic commit of package [lorax] release [29.14-1].
...
Created by command:
/usr/bin/tito tag
2018-09-06 09:57:45 -07:00
Brian C. Lane
4a5591e9a4
Automatic commit of package [lorax] release [29.13-1].
...
Created by command:
/usr/bin/tito tag
2018-08-29 15:46:18 -07:00
Brian C. Lane
18df16e2b7
Bump required dnf version to 3.2.0 for module_platform_id support
2018-08-29 11:04:50 -07:00
Brian C. Lane
55e9653cde
Automatic commit of package [lorax] release [29.12-1].
...
Created by command:
/usr/bin/tito tag
2018-08-28 13:00:22 -07:00
Brian C. Lane
e0cad3dcf8
Automatic commit of package [lorax] release [29.11-1].
...
Created by command:
/usr/bin/tito tag
2018-08-27 15:34:15 -07:00
Brian C. Lane
4e32026354
Fix tests related to blueprint name changes
2018-08-23 13:32:26 -07:00
Brian C. Lane
b1e2bbfd17
Fix bash_completion.d typo
2018-08-09 16:25:03 -07:00
Will Woods
2d01bec2b2
Add etc/bash_completion.d/composer-cli
...
Here's a bash_completion file for composer-cli! It completes known
commands, subcommands, and flags, plus arguments to flags that take
arguments, and if you've got write access to the socket it'll also
autocomplete:
* source names for commands that need source names
* blueprint names for commands that take blueprint names
* compose uuids for commands that take compose uuids
* intelligently only suggests appropriate uuids - e.g. only
suggests uuids of running composes for "compose cancel"
NOTE: bash completion scripts are horrible and this is no exception.
Please forgive me.
2018-08-07 13:00:56 -04:00
Brian C. Lane
066276ed65
Automatic commit of package [lorax] release [29.10-1].
...
Created by command:
/usr/bin/tito tag
2018-07-20 15:51:50 -07:00
Brian C. Lane
0eb823ee94
Automatic commit of package [lorax] release [29.9-1].
...
Created by command:
/usr/bin/tito tag
2018-06-27 16:15:34 -07:00
Brian C. Lane
f38f5cc168
Include example blueprints in the rpm
...
This also sets ownership of /var/lib/lorax/composer/ to root:weldr to
allow missing directories to be created at runtime.
2018-06-27 15:58:27 -07:00
Brian C. Lane
779153a1cf
Automatic commit of package [lorax] release [29.8-1].
...
Created by command:
/usr/bin/tito tag
2018-06-22 09:22:13 -07:00
Brian C. Lane
6cf4e56d2a
Automatic commit of package [lorax] release [29.7-1].
...
Created by command:
/usr/bin/tito tag
2018-06-07 09:04:15 -07:00
Brian C. Lane
a038d76f64
Automatic commit of package [lorax] release [29.6-1].
...
Created by command:
/usr/bin/tito tag
2018-06-04 16:29:18 -07:00
Brian C. Lane
1f8da3f1a7
Automatic commit of package [lorax] release [29.5-1].
...
Created by command:
/usr/bin/tito tag
2018-05-23 16:21:24 -07:00
Brian C. Lane
3edc85e0b9
Automatic commit of package [lorax] release [29.4-1].
...
Created by command:
/usr/bin/tito tag
2018-05-17 13:21:17 -07:00
Dan Horák
4a905bdfb0
really kill kernel-bootwrapper on ppc
2018-05-17 10:32:45 -07:00
Brian C. Lane
cd189aa97e
Automatic commit of package [lorax] release [29.3-1].
...
Created by command:
/usr/bin/tito tag
2018-05-14 15:32:25 -07:00
Brian C. Lane
48e318b391
Add support for systemd socket activation
...
Instead of enabling lorax-composer.service enable lorax-composer.socket
and it will start lorax-composer on first access to
/run/weldr/api.socket
2018-05-14 13:57:44 -07:00
Brian C. Lane
e6d64dad61
lorax-composer also requires tar
2018-05-14 13:00:15 -07:00
Brian C. Lane
29ceea3d05
Update setup.py for lorax-composer and composer-cli
2018-05-14 13:00:15 -07:00
Brian C. Lane
094c30eda4
Update lorax.spec for lorax-composer
...
Add new subpackages for lorax-composer and composer-cli, and new requirements.
Trim changelog
Fix a couple of un-versioned Provides
2018-05-14 13:00:14 -07:00
Brian C. Lane
8e2e0b4ed3
Automatic commit of package [lorax] release [29.2-1].
...
Created by command:
/usr/bin/tito tag
2018-05-03 09:04:25 -07:00
Brian C. Lane
1e9ae623d1
Automatic commit of package [lorax] release [29.1-1].
...
Created by command:
/usr/bin/tito tag
2018-04-09 13:44:04 -07:00
Brian C. Lane
1cf2d8fe6f
Update the URL in lorax.spec to point to new Lorax location
...
Moved to https://github.com/weldr/lorax
2018-03-19 13:44:25 -07:00
Brian C. Lane
f03933e726
Automatic commit of package [lorax] release [29.0-1].
...
Created by command:
/usr/bin/tito tag --keep-version
2018-03-15 14:06:29 -07:00
Brian C. Lane
7bc3732bda
Automatic commit of package [lorax] release [28.8-1].
...
Created by command:
/usr/bin/tito tag
2018-02-26 10:25:51 -08:00
Brian C. Lane
039c992e69
Automatic commit of package [lorax] release [28.7-1].
...
Created by command:
/usr/bin/tito tag
2018-02-23 13:24:19 -08:00
Brian C. Lane
5d21dee7c0
livemedia-creator --no-virt requires a system-logos package
...
In order to run the output templates it needs the logos package to be
installed on the host.
2018-02-23 10:19:25 -08:00
Brian C. Lane
1471ef8ad0
Automatic commit of package [lorax] release [28.6-1].
...
Created by command:
/usr/bin/tito tag
2018-02-22 17:02:19 -08:00
Brian C. Lane
80ed94dc06
Automatic commit of package [lorax] release [28.5-1].
...
Created by command:
/usr/bin/tito tag
2018-01-29 08:34:52 -08:00
Brian C. Lane
f1467ca99f
Automatic commit of package [lorax] release [28.4-1].
...
Created by command:
/usr/bin/tito tag
2018-01-17 09:40:48 -08:00
Brian C. Lane
c611bbee73
Automatic commit of package [lorax] release [28.3-1].
...
Created by command:
/usr/bin/tito tag
2018-01-03 11:44:07 -08:00
Brian C. Lane
8b50bfbf8d
Automatic commit of package [lorax] release [28.2-1].
...
Created by command:
/usr/bin/tito tag
2017-11-28 09:10:44 -08:00
Brian C. Lane
3c0cb25770
Add /usr/share/lorax/templates.d ownership to lorax-templates-generic
2017-11-27 12:02:46 -08:00
Brian C. Lane
b55398c521
Automatic commit of package [lorax] release [28.1-1].
...
Created by command:
/usr/bin/tito tag
2017-10-19 14:39:00 -07:00
Brian C. Lane
11e3fdadbb
Automatic commit of package [lorax] release [28.0-1].
...
Created by command:
/usr/bin/tito tag --keep-version
2017-10-17 10:02:14 -07:00
Brian C. Lane
d93adc283f
Automatic commit of package [lorax] release [27.11-1].
...
Created by command:
/usr/bin/tito tag
2017-09-27 13:30:46 -07:00
Dan Horák
9264ec7f26
distribute the mk-s390-cdboot utility
2017-09-27 09:43:10 -07:00
Brian C. Lane
743fb92757
Automatic commit of package [lorax] release [27.10-1].
...
Created by command:
/usr/bin/tito tag
2017-09-18 13:13:55 -07:00
Brian C. Lane
28df9a9d82
Automatic commit of package [lorax] release [27.9-1].
...
Created by command:
/usr/bin/tito tag
2017-08-25 16:40:45 -07:00
Brian C. Lane
a31617e376
Automatic commit of package [lorax] release [27.8-1].
...
Created by command:
/usr/bin/tito tag
2017-08-24 12:05:57 -07:00
Brian C. Lane
d36f188160
Automatic commit of package [lorax] release [27.7-1].
...
Created by command:
/usr/bin/tito tag
2017-08-24 09:27:29 -07:00
Brian C. Lane
931f7da88e
Automatic commit of package [lorax] release [27.6-1].
...
Created by command:
/usr/bin/tito tag
2017-08-14 14:47:19 -07:00
Brian C. Lane
88498263b1
Automatic commit of package [lorax] release [27.5-1].
...
Created by command:
/usr/bin/tito tag
2017-08-02 17:36:44 -07:00
Brian C. Lane
e562f79f3a
Automatic commit of package [lorax] release [27.4-1].
...
Created by command:
/usr/bin/tito tag
2017-07-10 11:43:10 -07:00
Brian C. Lane
79d5690547
Automatic commit of package [lorax] release [27.3-1].
...
Created by command:
/usr/bin/tito tag
2017-06-20 10:43:48 -07:00
Brian C. Lane
a0ef28fb82
Automatic commit of package [lorax] release [27.2-1].
...
Created by command:
/usr/bin/tito tag
2017-06-01 08:09:41 -07:00