nmstate/tests/cli_query_reapply.sh

8 lines
116 B
Bash
Raw Normal View History

#!/bin/bash -ex
TMP_FILE=$(mktemp /tmp/nmstate.XXXXXX.yaml)
nmstatectl show > $TMP_FILE
nmstatectl set $TMP_FILE