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