mirror of
https://github.com/flatcar/scripts.git
synced 2026-01-22 17:01:49 +01:00
portage-stable was updated to be in sync with upstream, so that the new GLSA 201810-10, where systemd v238 got rejected due to security issues. However, coreos-overlay still uses systemd v238. So we should also follow the upstream strategy of whitelisting GLSA 201810-10, to build Flatcar based on the current coreos-overlay. So simply merge upstream/master into flatcar-master.
#OpenStack OEM utils
##About
These scripts are used to manage loading CoreOS images into an OpenStack deployment. All scripts here should be considered in the public domain.
Outside of this directory is a "generic" scripts directory. This is the
location of any scripts not specific to any OEM. There you will find useful
scripts like check_etag.sh.
To load images in an automated fashion via python-glanceclient, one may
use a cron job which will check the ETag on the remote file on the CoreOS
image storage then proceed with executing this script.
##Example Usage
First, load your openstack credentials using one of the following methods:
$ source ~/.openstack/keystonerc_${USERNAME}
$ export OS_PASSWORD=secure_password
$ export OS_AUTH_URL=http://my.keystone.auth-url.example.com:35357/v2.0/
$ export OS_USERNAME=redbeard
$ export OS_TENANT_NAME=coreos
Next, run the actual synchronization script:
$ ../generic/check_etag.sh && echo "Everything synced" || ./glance_load.sh