punchplatform / punchbox

the punchbox tool to deploy servers, kubernetes or punch
Apache License 2.0
4 stars 2 forks source link

6 0 4198 punchbox centos #9

Closed KaioKei closed 4 years ago

KaioKei commented 4 years ago

Changes

fixes

improvements

features

Related issues

Test

First of all, compile a fresh punchplatform (version 6.0)

Then in punchbox :

# clean previous installation
make clean
make install
# generate vagrant file and configuration model
bin/punchbox --config configurations/complete_punch_32G.json --punch-conf <path/to/external/conf_dir> --deployer <path/to/deployer_zip> --os centos/7 --interface eth1 --generate-vagrantfile
# mount VMs with vagrant
cd vagrant
vagrant up
# generate configuration andcopy it inside the shared folder 
cd ..
punchplatform-deployer.sh --generate-platform-config --templates-dir punch/platform_template/ --model punch/build/model.json
cp $PUNCHPLATFORM_CONF_DIR/punchplatform.properties punch/build/pp-conf
# install punchplatform
punchplatform-deployer.sh deploy -u vagrant
# validate the platform
ssh vagrant@server1
pp-conf/check_platform.sh

Validation

  1. Merge the current branch inside the stable one
  2. Test the changes
  3. Verify the documentation actually relates about the current changes