Move openstack-selinux to Packer template
Change-Id: I3878c029cadbf0a3bdcf374506ba04ca1a105788
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
---
|
||||
- lineinfile: dest=/etc/yum/pluginconf.d/fastestmirror.conf regexp=^enabled= line=enabled=0
|
||||
- yum: name=http://rdo.fedorapeople.org/rdo-release.rpm state=present
|
||||
- yum: name=* state=latest
|
||||
- yum: name=openstack-selinux state=present
|
||||
- copy: src=files/id_rsa dest=/home/vagrant/.ssh/id_packstack mode=0600 owner=vagrant group=vagrant
|
||||
- copy: src=files/id_rsa.pub dest=/home/vagrant/.ssh/id_packstack.pub mode=0600 owner=vagrant group=vagrant
|
||||
- copy: src=files/selinux dest=/etc/selinux/config mode=0644 owner=root group=root
|
||||
|
@@ -32,6 +32,7 @@
|
||||
"scripts/vbox.sh",
|
||||
"scripts/sshd.sh",
|
||||
"scripts/vagrant.sh",
|
||||
"scripts/packstack.sh",
|
||||
"scripts/cleanup.sh"
|
||||
]
|
||||
}],
|
||||
|
4
packer/scripts/packstack.sh
Normal file
4
packer/scripts/packstack.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
yum install -y http://rdo.fedorapeople.org/rdo-release.rpm
|
||||
yum install -y openstack-selinux
|
Reference in New Issue
Block a user