This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add repositories | |
| /usr/bin/yum -y install fedora-release-rawhide | |
| /bin/rpm -i http://download.mirantis.com/repo/noarch/openstack-repo-2011.3-1.noarch.rpm | |
| # "node-full" is cloud controller role | |
| /usr/bin/yum -y install nova-node-full |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # In our case mac-address is easiest way to static bind hostname to server. | |
| HOSTNAME="pmo-cluster" | |
| MAC=`ifconfig eth0 | grep HWaddr | cut -c 39-` | |
| case "$MAC" in | |
| '00:24:1D:CE:71:C1') | |
| HOSTNAME="pmo-cluster1" | |
| ;; | |
| '00:24:1D:DD:FC:97') | |
| HOSTNAME="pmo-cluster4" | |
| ;; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %post | |
| # | |
| # HERE SOME POST-INSTALLATION PROCEDURES | |
| # | |
| #################################################################### | |
| # Basic settings as credentials for mysql server | |
| #################################################################### | |
| # MySQL database, user and password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rpm -i http://download.mirantis.com/repo/noarch/openstack-repo-2011.3-1.noarch.rpm |
NewerOlder