52b325970d
That way we can make use of libvm instead of relying on vagrant. Closes: #394 Approved by: cgwalters
17 lines
289 B
Bash
Executable File
17 lines
289 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
source ${commondir}/libvm.sh
|
|
|
|
# create ssh-config if needed and export cmds
|
|
vm_setup
|
|
|
|
if [ -n "${VMCLEAN:-}" ]; then
|
|
vm_cmd rm -rf sync
|
|
fi
|
|
|
|
vm_rsync
|
|
vm_cmd make -C sync/vagrant ofsinstall
|
|
vm_cmd systemctl daemon-reload
|
|
vm_cmd systemctl restart rpm-ostreed
|