Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for retry_installcommand (0.07 seconds)

  1. Vagrantfile

                        extra)
      config.vm.provision 'install dependencies', type: 'shell', inline:  <<-SHELL
        set -e
        set -o pipefail
    
        # Retry install command up to $2 times, if failed
        retry_installcommand() {
          n=0
          while true; do
            #{install_command} $1 && break
            let n=n+1
            if [ $n -ge $2 ]; then
              echo "==> Exhausted retries to install $1"
              return 1
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 17 17:41:23 GMT 2021
    - 14.9K bytes
    - Click Count (0)
Back to Top