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

Commit 38a21a6

Browse files
authored
Remove ssh_timeout and winrm_timeout parameters (#197)
1 parent a2f5cec commit 38a21a6

File tree

7 files changed

+3
-15
lines changed

7 files changed

+3
-15
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
if [ -n "${CURRENT_VERSION_PROVIDER_URL}" ]; then
6363
echo "*** Found already build image \"${BUILD}\" with hash \"${GITHUB_SHA}\": ${CURRENT_VERSION_PROVIDER_URL}"
6464
echo "*** This build will be skipped..."
65-
echo "::set-env name=skip::true"
65+
echo "skip=true" >> $GITHUB_ENV
6666
else
6767
# Set BOX_VERSION variable from existing provider (if exists) or from "date"
6868
BOX_VERSION="$(curl -L --silent "https://app.vagrantup.com/api/v1/box/${VAGRANT_CLOUD_USER}/${NAME}" | jq -r ".current_version.version")"
@@ -72,7 +72,7 @@ jobs:
7272
BOX_VERSION="$(date +%Y%m%d).01"
7373
echo "*** Using new box version based on current date: ${BOX_VERSION}"
7474
fi
75-
echo "::set-env name=BOX_VERSION::${BOX_VERSION}"
75+
echo "BOX_VERSION=${BOX_VERSION}" >> $GITHUB_ENV
7676
7777
- uses: actions/checkout@v2
7878
if: env.skip != 'true'
@@ -84,7 +84,7 @@ jobs:
8484
run: |
8585
brew install ansible bash coreutils gnu-sed qemu
8686
pip3 install pywinrm
87-
echo "::add-path::/usr/local/bin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin:${PATH}"
87+
echo "/usr/local/bin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin" >> "${GITHUB_PATH}"
8888
8989
- name: Build image - ${{ matrix.stage }}
9090
if: env.skip != 'true'

my_centos-7.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"output_directory": "{{ user `name` }}-qemu",
2020
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
2121
"ssh_password": "{{ user `ssh_password` }}",
22-
"ssh_timeout": "60m",
2322
"ssh_username": "{{ user `ssh_username` }}",
2423
"type": "qemu",
2524
"vm_name": "{{ user `name` }}"
@@ -44,7 +43,6 @@
4443
"output_directory": "{{ user `name` }}-virtualbox-iso",
4544
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
4645
"ssh_password": "{{ user `ssh_password` }}",
47-
"ssh_timeout": "60m",
4846
"ssh_username": "{{ user `ssh_username` }}",
4947
"type": "virtualbox-iso",
5048
"vboxmanage": [

my_ubuntu-server.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"output_directory": "{{ user `name` }}-qemu",
2727
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
2828
"ssh_password": "{{ user `ssh_password` }}",
29-
"ssh_timeout": "60m",
3029
"ssh_username": "{{ user `ssh_username` }}",
3130
"type": "qemu",
3231
"vm_name": "{{ user `name` }}"
@@ -56,7 +55,6 @@
5655
"output_directory": "{{ user `name` }}-virtualbox-iso",
5756
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
5857
"ssh_password": "{{ user `ssh_password` }}",
59-
"ssh_timeout": "60m",
6058
"ssh_username": "{{ user `ssh_username` }}",
6159
"type": "virtualbox-iso",
6260
"vboxmanage": [

my_windows.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"vm_name": "{{ user `name` }}",
3636
"winrm_insecure": "true",
3737
"winrm_password": "{{ user `winrm_password` }}",
38-
"winrm_timeout": "12h",
3938
"winrm_use_ssl": "true",
4039
"winrm_username": "{{ user `winrm_username` }}"
4140
},
@@ -79,7 +78,6 @@
7978
"vm_name": "{{ user `name` }}",
8079
"winrm_insecure": "true",
8180
"winrm_password": "{{ user `winrm_password` }}",
82-
"winrm_timeout": "12h",
8381
"winrm_use_ssl": "true",
8482
"winrm_username": "{{ user `winrm_username` }}"
8583
}

ubuntu-desktop.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"output_directory": "{{ user `name` }}-qemu",
2727
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
2828
"ssh_password": "{{ user `ssh_password` }}",
29-
"ssh_timeout": "60m",
3029
"ssh_username": "{{ user `ssh_username` }}",
3130
"type": "qemu",
3231
"vm_name": "{{ user `name` }}"
@@ -56,7 +55,6 @@
5655
"output_directory": "{{ user `name` }}-virtualbox-iso",
5756
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
5857
"ssh_password": "{{ user `ssh_password` }}",
59-
"ssh_timeout": "60m",
6058
"ssh_username": "{{ user `ssh_username` }}",
6159
"type": "virtualbox-iso",
6260
"vboxmanage": [

ubuntu-server.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"output_directory": "{{ user `name` }}-qemu",
2727
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
2828
"ssh_password": "{{ user `ssh_password` }}",
29-
"ssh_timeout": "60m",
3029
"ssh_username": "{{ user `ssh_username` }}",
3130
"type": "qemu",
3231
"vm_name": "{{ user `name` }}"
@@ -56,7 +55,6 @@
5655
"output_directory": "{{ user `name` }}-virtualbox-iso",
5756
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
5857
"ssh_password": "{{ user `ssh_password` }}",
59-
"ssh_timeout": "60m",
6058
"ssh_username": "{{ user `ssh_username` }}",
6159
"type": "virtualbox-iso",
6260
"vboxmanage": [

windows.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"vm_name": "{{ user `name` }}",
3939
"winrm_insecure": "true",
4040
"winrm_password": "{{ user `winrm_password` }}",
41-
"winrm_timeout": "12h",
4241
"winrm_use_ssl": "true",
4342
"winrm_username": "{{ user `winrm_username` }}"
4443
},
@@ -82,7 +81,6 @@
8281
"vm_name": "{{ user `name` }}",
8382
"winrm_insecure": "true",
8483
"winrm_password": "{{ user `winrm_password` }}",
85-
"winrm_timeout": "12h",
8684
"winrm_use_ssl": "true",
8785
"winrm_username": "{{ user `winrm_username` }}"
8886
}

0 commit comments

Comments
 (0)