nmstate/tests/cli_query_reapply.sh
Petr Šabata 5d4892a80e RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/nmstate#4a5bb4e177167a1ab52cb3253a26f31f8e855a0a
2020-10-15 21:09:17 +02:00

8 lines
140 B
Bash
Executable File

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