The SAMBA servier will be used as an untermediate storage for prerequesites and scripts that will be copied to the VM.

Install samba server

apt-get intall samba

Next, let’s create the folder where we will store files

mkdir -p /opt/samba/share
chown nobody:nogroup /opt/samba/share

Edit the /etc/samba/smb.conf

...
[global]
...
security = user
...
[share]
comment = Deployment Share
path = /opt/samba/share
browsable = yes
guest ok = yes
guest account = nobody
read only = no
create mask = 0755

Restart the samba services

restart smbd && restart nmdb