diff --git a/README.md b/README.md index ac338bd7b4c86a3a94f4c6f4f6f78c3cea0aa83b..d28e7daacad5eddb93c59b24c7164ac5c4906684 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ cd vagrant-cfssl ### Step 3 - Boot a virtual machine, download and configure all required items to get a running CFSSL -Some configuration values are presents in [`puppet/hieradata/parameters.yaml`](puppet/hieradata/parameters.yaml) file. +Some *CFSSL** configuration values are presents in [`puppet/hieradata/parameters.yaml`](puppet/hieradata/parameters.yaml) file. You can modify this file to change value of any parameter documented by **Puppet** component module `cfssl` in [REFERENCE.md](https://gitlab.adullact.net/adullact/puppet-cfssl/-/blob/main/REFERENCE.md) @@ -50,16 +50,8 @@ You can modify this file to change value of any parameter documented by **Puppet # Creates and starts the VM (Virtual Machine) according to the Vagrantfile vagrant destroy -f # stops the running machine Vagrant and destroys all resources -vagrant up - - # Creates and starts the VM (Virtual Machine) - # with some customizations (ports, ip, ...) - # - customize CFSSL port ---> 8888 (default, port allowed above 1000) - # - customize CFSSL port ---> 127.0.0.1 (default) - vagrant destroy -f # stops the running machine Vagrant and destroys all resources - VAGRANT_HOST_CFSSL_PORT=8888 \ - VAGRANT_HOST_CFSSL_IP=0.0.0.0 \ - vagrant up +vagrant up # Then you wait few minutes + # depends on your network access and power of your computer # Stops gracefully the VM vagrant halt @@ -72,7 +64,18 @@ vagrant up vagrant destroy -f ``` -Then you wait few minutes (depends on your network access and power of your computer). +### Starts the VM with a custom CFSLL port and a custom CFSSL IP address + +```bash +# Creates and starts the VM (Virtual Machine) +# with some customizations (ports, ip, ...) +# - customize CFSSL port ---> 8888 (default, port allowed above 1000) +# - customize CFSSL IP address ---> 127.0.0.1 (default) +VAGRANT_HOST_CFSSL_PORT=8888 \ +VAGRANT_HOST_CFSSL_IP=0.0.0.0 \ +vagrant up +``` + ---------------------------------