Skip to content

Commit

Permalink
Clean up CentOS 6 (#70)
Browse files Browse the repository at this point in the history
* delete obsolete CentOS 6 files

* remove old centos config
  • Loading branch information
sebastian-luna-valero authored Mar 22, 2024
1 parent 5c9b0e8 commit 6f0446e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 147 deletions.
53 changes: 0 additions & 53 deletions centos/centos-6.json

This file was deleted.

27 changes: 0 additions & 27 deletions centos/httpdir/centos-6.cfg

This file was deleted.

12 changes: 0 additions & 12 deletions centos/provisioners/cloud-init-6.patch

This file was deleted.

26 changes: 0 additions & 26 deletions centos/provisioners/cloud-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,6 @@
name: [cloud-init, cloud-utils-growpart]
state: latest

- name: extra packages for centos 6
yum:
name: [dracut-modules-growroot, patch, parted]
state: latest
when: ansible_distribution_major_version == "6"

- name: copy cloud-init patch
copy:
src: cloud-init-6.patch
dest: /tmp/cloud-init.patch

- name: patch cloud-init
shell: |
pushd /usr/lib/python2.6/site-packages/cloudinit/sources
patch < /tmp/cloud-init.patch
rm /tmp/cloud-init.patch
popd
python -c "import cloudinit.sources.DataSourceOpenNebula"
when: ansible_distribution_major_version == "6"

- name: Create fedcloud config
copy:
content: |
Expand All @@ -40,12 +20,6 @@
# Regenerate keys
ssh_deletekeys: True
ssh_genkeytypes: ['rsa', 'dsa']
# In OpenNebula, use network based datasource,
# so that it can successfully resolve IPv4 based hostname
datasource:
OpenNebula:
dsmode: net
dest: /etc/cloud/cloud.cfg.d/01_fedcloud.cfg

- name: enable service
Expand Down
29 changes: 0 additions & 29 deletions centos/provisioners/network-centos6.yaml

This file was deleted.

0 comments on commit 6f0446e

Please sign in to comment.