File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,15 @@ export DEBIAN_FRONTEND=noninteractive
88apt-get clean
99rm -rf /var/lib/apt/lists/*
1010
11+ # cat > /etc/apt/apt.conf.d/docker-ignore-secure.conf <<EOFILE
12+ # Acquire::https::download.docker.com::Verify-Peer "false";
13+ # Acquire::https::download.docker.com::Verify-Host "false";
14+ # EOFILE
15+
16+ curl -k -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
17+ apt-key fingerprint 0EBFCD88
18+
19+ # --allow-unauthenticated
1120apt-get update --fix-missing -y
1221
1322# Upgrade all packages to the latest, and resolve dependencies
@@ -52,7 +61,7 @@ sudo timedatectl set-timezone US/Eastern
5261(
5362 # Don't fail for the docker install
5463 set +e
55- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
64+ curl -k - fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
5665 apt-key fingerprint 0EBFCD88
5766 add-apt-repository " deb [arch=amd64] https://download.docker.com/linux/ubuntu $( lsb_release -cs) stable"
5867 apt-get update
@@ -62,3 +71,4 @@ sudo timedatectl set-timezone US/Eastern
6271 usermod -a -G docker vagrant
6372) || true
6473
74+ rm -f /etc/apt/apt.conf.d/docker-ignore-secure.conf
Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ SETLOCAL
22
33SET VAGRANT_HOME = C:\files\vagrant
44
5+ REM Uncomment the next two lines if you use a custom CA SSL certificate
6+ REM (if you get SSL errors when doing 'vagrant up', you may need this)
7+ REM SET SSL_CERT_FILE=c:\files\vagrant\customcacert.pem
8+ REM SET CURL_CA_BUNDLE=c:\files\vagrant\customcacert.pem
9+
510PUSHD C:\files\vagrant\devbox
611
712vagrant up
You can’t perform that action at this time.
0 commit comments