From 8e431eb8a009811d439dfc723f2d882a5608ff05 Mon Sep 17 00:00:00 2001 From: Kyle Walker Date: Wed, 31 Oct 2018 13:43:00 -0400 Subject: [PATCH 1/4] Pushing-Images-to-AWS - Update to include RHEL 7.6 within scope Adding a few changes to make the content cover the RHEL use-case. For RHEL 7.6, the software collections python36 revision can be used to install the awscli utility. Also removed reference to specifically using Fedora 29 for the process as it isn't necessary. Just a system that is RHEL 7.6 or above, and Fedora 29 or above. --- _posts/2018-10-08-Pushing-Images-to-AWS.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/_posts/2018-10-08-Pushing-Images-to-AWS.md b/_posts/2018-10-08-Pushing-Images-to-AWS.md index 8c4359a387b56..6e71c515c0b1b 100644 --- a/_posts/2018-10-08-Pushing-Images-to-AWS.md +++ b/_posts/2018-10-08-Pushing-Images-to-AWS.md @@ -13,9 +13,8 @@ partition layout, and include cloud-init. ## Prerequisites -We'll use [Fedora 29](https://getfedora.org/) as our OS of choice for running this. Run -this in its own VM with at least 8 gigabytes of memory and 40 gigabytes of disk space. -[Lorax](http://weldr.io/lorax/) makes some changes to the operating system its running on. +Run this in its own VM with at least 8 gigabytes of memory and 40 gigabytes of disk space. +[Lorax](https://weldr.io/lorax/) makes some changes to the operating system its running on. First install Composer: @@ -39,9 +38,21 @@ If you're going to use [Cockpit](https://cockpit-project.org/) UI to drive Compo Install the [AWS client](https://aws.amazon.com/cli/) tooling: +Fedora 29+ + $ sudo yum install python3-pip $ sudo pip3 install awscli +RHEL 7.6+ + + $ sudo subscription-manager repos --enable rhel-server-rhscl-7-rpms + $ sudo yum install rh-python36-python-pip -y + $ sudo scl enable rh-python36 -- pip install awscli + $ scl enable rh-python36 bash + +Note, with RHEL 7.6 systems, any aws commands following will need to be issued within the +scl enable wrapper. + Make sure you have an *Access Key ID* configured in [AWS IAM account manager](https://aws.amazon.com/iam/) and use that info to configure the AWS command line client: From 5e15333f049168639e28b7e1b94df07d88049420 Mon Sep 17 00:00:00 2001 From: Kyle Walker Date: Wed, 31 Oct 2018 15:12:40 -0400 Subject: [PATCH 2/4] Pushing-Images-to-Azure: Update to include RHEL 7.6 within scope None of the content is inherently Fedora 29, and so these changes indicate that the RHEL 7.6 release is within scope. In addition, changing the yum repos entry to use the "yum-config-manager --add-repo=" operation as it is somewhat less subject to typos. --- _posts/2018-10-08-Pushing-Images-to-Azure.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/_posts/2018-10-08-Pushing-Images-to-Azure.md b/_posts/2018-10-08-Pushing-Images-to-Azure.md index 09e26b61bbe1a..f9b714b253695 100644 --- a/_posts/2018-10-08-Pushing-Images-to-Azure.md +++ b/_posts/2018-10-08-Pushing-Images-to-Azure.md @@ -14,9 +14,8 @@ include the necessary agents, as well as ## Prerequisites -We'll use [Fedora 29](https://getfedora.org/) as our OS of choice for running this. Run -this in its own VM with at least 8 gigabytes of memory and 40 gigabytes of disk space. -[Lorax](http://weldr.io/lorax/) makes some changes to the operating system its running on. +Run this in its own VM with at least 8 gigabytes of memory and 40 gigabytes of disk space. +[Lorax](https://weldr.io/lorax/) makes some changes to the operating system its running on. First install Composer: @@ -41,7 +40,7 @@ If you're going to use [Cockpit](https://cockpit-project.org/) UI to drive Compo Install the [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-yum) tooling: $ sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc - $ sudo sh -c 'echo -e "[azure-cli]\nname=Azure CLI\nbaseurl=https://packages.microsoft.com/yumrepos/azure-cli\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/azure-cli.repo' + $ sudo yum-config-manager --add-repo=https://packages.microsoft.com/yumrepos/azure-cli $ sudo yum install azure-cli Now log into the Azure CLI like so: From 1d3a7c8c9ce447fcbd625e12d5162c75548d87a2 Mon Sep 17 00:00:00 2001 From: Kyle Walker Date: Wed, 31 Oct 2018 16:03:11 -0400 Subject: [PATCH 3/4] Pushing-Images-to-VMWare: Update to include RHEL 7.6 within scope None of the content is inherently Fedora 29, and so these changes indicate that the RHEL 7.6 release is within scope. Set all hyperlinks to https. --- _posts/2018-10-08-Pushing-Images-to-VMWare.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/_posts/2018-10-08-Pushing-Images-to-VMWare.md b/_posts/2018-10-08-Pushing-Images-to-VMWare.md index a800a639ad5bf..802fa451b30cd 100644 --- a/_posts/2018-10-08-Pushing-Images-to-VMWare.md +++ b/_posts/2018-10-08-Pushing-Images-to-VMWare.md @@ -13,9 +13,8 @@ have the right format, and include the necessary agents. ## Prerequisites -We'll use [Fedora 29](https://getfedora.org/) as our OS of choice for running this. Run -this in its own VM with at least 8 gigabytes of memory and 40 gigabytes of disk space. -[Lorax](http://weldr.io/lorax/) makes some changes to the operating system its running on. +Run this in its own VM with at least 8 gigabytes of memory and 40 gigabytes of disk space. +[Lorax](https://weldr.io/lorax/) makes some changes to the operating system its running on. First install Composer: From ac20a558eb55e9464733a7c341678caa8cc27588 Mon Sep 17 00:00:00 2001 From: Kyle Walker Date: Wed, 31 Oct 2018 16:51:21 -0400 Subject: [PATCH 4/4] Pushing-Images-to-Openstack: Update to include RHEL 7.6 within scope None of the content is inherently Fedora 29, and so these changes indicate that the RHEL 7.6 release is within scope. Set all hyperlinks to https. --- _posts/2018-10-08-Pushing-Images-to-Openstack.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/_posts/2018-10-08-Pushing-Images-to-Openstack.md b/_posts/2018-10-08-Pushing-Images-to-Openstack.md index 683864a684461..8f00d60c296e9 100644 --- a/_posts/2018-10-08-Pushing-Images-to-Openstack.md +++ b/_posts/2018-10-08-Pushing-Images-to-Openstack.md @@ -13,9 +13,8 @@ layout, and include cloud-init. ## Prerequisites -We'll use [Fedora 29](https://getfedora.org/) as our OS of choice for running this. Run -this in its own VM with at least 8 gigabytes of memory and 40 gigabytes of disk space. -[Lorax](http://weldr.io/lorax/) makes some changes to the operating system its running on. +Run this in its own VM with at least 8 gigabytes of memory and 40 gigabytes of disk space. +[Lorax](https://weldr.io/lorax/) makes some changes to the operating system its running on. First install Composer: