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