Update vagrant_provision.sh

Line 20-27 -> add slash at the end of every entry and removed empty entries.
Caused error in creating .csr file
PS. the virtualbox-guest-x11 is not in the given debian repository. Better take an Ubuntu repository
Also inserted:
sudo apt-get install -y ubuntu-desktop
sudo systemctl set-default graphical.target
to install a desktop environment
This commit is contained in:
Casper 2019-11-14 21:36:29 +00:00 committed by GitHub
parent d0068170db
commit c1a1f1ce26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,14 +16,12 @@ DOMAIN="*.xip.io"
EXTRADOMAIN="friendica.local" EXTRADOMAIN="friendica.local"
PASSPHRASE="vaprobash" PASSPHRASE="vaprobash"
SUBJ=" SUBJ="
C=US C=US/
ST=Connecticut ST=Connecticut/
O=Vaprobash O=Vaprobash/
localityName=New Haven localityName=New Haven/
commonName=$DOMAIN commonName=$DOMAIN/
subjectAltName=DNS:$EXTRADOMAIN subjectAltName=DNS:$EXTRADOMAIN
organizationalUnitName=
emailAddress=
" "
sudo mkdir -p "$SSL_DIR" sudo mkdir -p "$SSL_DIR"
sudo openssl genrsa -out "$SSL_DIR/xip.io.key" 4096 sudo openssl genrsa -out "$SSL_DIR/xip.io.key" 4096