Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit e4f4754

Browse files
committed
fix(linter): fix linting issues
1 parent e98d1fe commit e4f4754

13 files changed

+29
-38
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ with Packer.
197197
198198
```bash
199199
git clone --recurse-submodules https://github.com/ruzickap/packer-templates.git
200-
cd packer-templates
200+
cd packer-templates || exit
201201
```
202202
203203
* Ubuntu:

docs/GitLab_CI_configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You can also use the command directly when using already pre-configured server:
4242
gitlab-runner register \
4343
--non-interactive \
4444
--tag-list packer-templates \
45-
--registration-token {{ GITLAB_REGISTRATION_TOKEN }} \
45+
--registration-token "{{ GITLAB_REGISTRATION_TOKEN }}" \
4646
--url https://gitlab.com/ \
4747
--executor shell
4848
```

templates/my_centos.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ apt install -y libvirt-bin vagrant-libvirt
3434
Install and connect to the box:
3535

3636
```bash
37-
mkdir ${NAME}
38-
cd ${NAME}
39-
vagrant init ${VAGRANT_CLOUD_USER}/${NAME}
37+
mkdir "${NAME}" && cd "${NAME}" || exit
38+
vagrant init "${VAGRANT_CLOUD_USER}/${NAME}"
4039
VAGRANT_DEFAULT_PROVIDER=libvirt vagrant up
4140
# or
4241
VAGRANT_DEFAULT_PROVIDER=virtualbox vagrant up

templates/my_ubuntu.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ apt install -y libvirt-bin vagrant-libvirt
3333
Install and connect to the box:
3434

3535
```bash
36-
mkdir ${NAME}
37-
cd ${NAME}
38-
vagrant init ${VAGRANT_CLOUD_USER}/${NAME}
36+
mkdir "${NAME}" && cd "${NAME}" || exit
37+
vagrant init "${VAGRANT_CLOUD_USER}/${NAME}"
3938
VAGRANT_DEFAULT_PROVIDER=libvirt vagrant up
4039
# or
4140
VAGRANT_DEFAULT_PROVIDER=virtualbox vagrant up

templates/my_windows-10-enterprise-eval.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ web pages:
3636
dnf remove vagrant
3737

3838
VAGRANT_LATEST_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/vagrant | jq -r -M '.current_version')
39-
dnf install https://releases.hashicorp.com/vagrant/${VAGRANT_LATEST_VERSION}/vagrant_${VAGRANT_LATEST_VERSION}_x86_64.rpm
39+
dnf install "https://releases.hashicorp.com/vagrant/${VAGRANT_LATEST_VERSION}/vagrant_${VAGRANT_LATEST_VERSION}_x86_64.rpm"
4040

4141
# virtualbox
4242
# Details here: https://rpmfusion.org/Howto/VirtualBox
@@ -51,9 +51,8 @@ vagrant plugin install vagrant-libvirt
5151
Install and connect to the box:
5252

5353
```bash
54-
mkdir ${NAME}
55-
cd ${NAME}
56-
vagrant init ${VAGRANT_CLOUD_USER}/${NAME}
54+
mkdir "${NAME}" && cd "${NAME}" || exit
55+
vagrant init "${VAGRANT_CLOUD_USER}/${NAME}"
5756
VAGRANT_DEFAULT_PROVIDER=libvirt vagrant up
5857
# or
5958
VAGRANT_DEFAULT_PROVIDER=virtualbox vagrant up

templates/ubuntu.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ apt install -y libvirt-bin vagrant-libvirt
3434
Install and connect to the box:
3535

3636
```bash
37-
mkdir ${NAME}
38-
cd ${NAME}
39-
vagrant init ${VAGRANT_CLOUD_USER}/${NAME}
37+
mkdir "${NAME}" && cd "${NAME}" || exit
38+
vagrant init "${VAGRANT_CLOUD_USER}/${NAME}"
4039
VAGRANT_DEFAULT_PROVIDER=libvirt vagrant up
4140
# or
4241
VAGRANT_DEFAULT_PROVIDER=virtualbox vagrant up

templates/windows-10-enterprise-eval.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ web pages:
3636
dnf remove vagrant
3737

3838
VAGRANT_LATEST_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/vagrant | jq -r -M '.current_version')
39-
dnf install https://releases.hashicorp.com/vagrant/${VAGRANT_LATEST_VERSION}/vagrant_${VAGRANT_LATEST_VERSION}_x86_64.rpm
39+
dnf install "https://releases.hashicorp.com/vagrant/${VAGRANT_LATEST_VERSION}/vagrant_${VAGRANT_LATEST_VERSION}_x86_64.rpm"
4040

4141
# virtualbox
4242
# Details here: https://rpmfusion.org/Howto/VirtualBox
@@ -51,9 +51,8 @@ vagrant plugin install vagrant-libvirt
5151
Install and connect to the box:
5252

5353
```bash
54-
mkdir ${NAME}
55-
cd ${NAME}
56-
vagrant init ${VAGRANT_CLOUD_USER}/${NAME}
54+
mkdir "${NAME}" && cd "${NAME}" || exit
55+
vagrant init "${VAGRANT_CLOUD_USER}/${NAME}"
5756
VAGRANT_DEFAULT_PROVIDER=libvirt vagrant up
5857
# or
5958
VAGRANT_DEFAULT_PROVIDER=virtualbox vagrant up

templates/windows-server-2012-eval.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ web pages:
3737
dnf remove vagrant
3838

3939
VAGRANT_LATEST_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/vagrant | jq -r -M '.current_version')
40-
dnf install https://releases.hashicorp.com/vagrant/${VAGRANT_LATEST_VERSION}/vagrant_${VAGRANT_LATEST_VERSION}_x86_64.rpm
40+
dnf install "https://releases.hashicorp.com/vagrant/${VAGRANT_LATEST_VERSION}/vagrant_${VAGRANT_LATEST_VERSION}_x86_64.rpm"
4141

4242
# virtualbox
4343
# Details here: https://rpmfusion.org/Howto/VirtualBox
@@ -52,9 +52,8 @@ vagrant plugin install vagrant-libvirt
5252
Install and connect to the box:
5353

5454
```bash
55-
mkdir ${NAME}
56-
cd ${NAME}
57-
vagrant init ${VAGRANT_CLOUD_USER}/${NAME}
55+
mkdir "${NAME}" && cd "${NAME}" || exit
56+
vagrant init "${VAGRANT_CLOUD_USER}/${NAME}"
5857
VAGRANT_DEFAULT_PROVIDER=libvirt vagrant up
5958
# or
6059
VAGRANT_DEFAULT_PROVIDER=virtualbox vagrant up

templates/windows-server-2016-eval.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ web pages:
3636
dnf remove vagrant
3737

3838
VAGRANT_LATEST_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/vagrant | jq -r -M '.current_version')
39-
dnf install https://releases.hashicorp.com/vagrant/${VAGRANT_LATEST_VERSION}/vagrant_${VAGRANT_LATEST_VERSION}_x86_64.rpm
39+
dnf install "https://releases.hashicorp.com/vagrant/${VAGRANT_LATEST_VERSION}/vagrant_${VAGRANT_LATEST_VERSION}_x86_64.rpm"
4040

4141
# virtualbox
4242
# Details here: https://rpmfusion.org/Howto/VirtualBox
@@ -51,9 +51,8 @@ vagrant plugin install vagrant-libvirt
5151
Install and connect to the box:
5252

5353
```bash
54-
mkdir ${NAME}
55-
cd ${NAME}
56-
vagrant init ${VAGRANT_CLOUD_USER}/${NAME}
54+
mkdir "${NAME}" && cd "${NAME}" || exit
55+
vagrant init "${VAGRANT_CLOUD_USER}/${NAME}"
5756
VAGRANT_DEFAULT_PROVIDER=libvirt vagrant up
5857
# or
5958
VAGRANT_DEFAULT_PROVIDER=virtualbox vagrant up

templates/windows-server-2019-eval.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ web pages:
3636
dnf remove vagrant
3737

3838
VAGRANT_LATEST_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/vagrant | jq -r -M '.current_version')
39-
dnf install https://releases.hashicorp.com/vagrant/${VAGRANT_LATEST_VERSION}/vagrant_${VAGRANT_LATEST_VERSION}_x86_64.rpm
39+
dnf install "https://releases.hashicorp.com/vagrant/${VAGRANT_LATEST_VERSION}/vagrant_${VAGRANT_LATEST_VERSION}_x86_64.rpm"
4040

4141
# virtualbox
4242
# Details here: https://rpmfusion.org/Howto/VirtualBox
@@ -51,9 +51,8 @@ vagrant plugin install vagrant-libvirt
5151
Install and connect to the box:
5252

5353
```bash
54-
mkdir ${NAME}
55-
cd ${NAME}
56-
vagrant init ${VAGRANT_CLOUD_USER}/${NAME}
54+
mkdir "${NAME}" && cd "${NAME}" || exit
55+
vagrant init "${VAGRANT_CLOUD_USER}/${NAME}"
5756
VAGRANT_DEFAULT_PROVIDER=libvirt vagrant up
5857
# or
5958
VAGRANT_DEFAULT_PROVIDER=virtualbox vagrant up

0 commit comments

Comments
 (0)