Skip to content
Snippets Groups Projects
Commit 448928da authored by Fabrice Gangler's avatar Fabrice Gangler :art:
Browse files

docs: improve README

parent 247e1c54
No related branches found
No related tags found
Loading
Pipeline #41880 passed
......@@ -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
```
---------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment