3 # SPDX-FileCopyrightText: 2021 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
5 # SPDX-License-Identifier: GPL-3.0-or-later
8 # setup_one ubuntu/trusty64 172.27.27.2
10 echo Usage
: setup_one ubuntu
/trusty64
172.27.27.2
13 vfile
="$1"/Vagrantfile
15 cp Vagrantfile.tmpl
"$vfile"
18 perl
-i -pe "s{%%VMBOX%%}{$1}g;s/%%IP%%/$2/" Vagrantfile
20 vagrant
ssh -c 'ip addr || ifconfig'
23 ssh vagrant@
$2 hostname
46 MarcinOrlowski/debian4-i386.14
47 twolfman/debian6-lamp-drush.16
48 puphpet/debian75-x64.17
61 #generic/ubuntu1604.216
62 #generic/ubuntu1804.218
63 #generic/ubuntu2004.220
105 server_list | parallel
-j50% --plus --tag destroy_one
{.
} 172.27.27.
{+.
}
112 # Gamle: Centos3, Centos5, OracleXE, Debian7
115 # IP address *.2 and up
116 server_list | parallel
-j50% --plus --tag setup_one
{.
} 172.27.27.
{+.
}