Consist of a server and a client program for managing virtual machines ona Ghaf host.
Build the server using nix:
# Change target accordingly
nix build .#packages.x86_64-linux.vmd-server
Build the client using nix:
# Change target accordingly
nix build .#packages.x86_64-linux.vmd-client
- Create certificates
make -C test/auth
- Start server
nix run .#packages.x86_64-linux.vmd-server -- \
--hostname localhost \
--port 8080 \
--cacert ./test/auth/certs/sample-ca-crt.pem \
--cert ./test/auth/certs/sample-vmd-server-crt.pem \
--key ./test/auth/certs/sample-vmd-server-key.pem
- Run client
nix run .#packages.x86_64-linux.vmd-client -- \
--hostname localhost \
--port 8080 \
--cacert test/auth/certs/sample-ca-crt.pem \
--cert test/auth/certs/sample-vmd-client-chain.pem \
--key test/auth/certs/sample-vmd-client-key.pem \
--output yaml \
list