mirror of https://github.com/k3s-io/k3s
cluster: make gen-uid python3 compatible
parent
823d766e31
commit
fd26cb9e1e
|
@ -209,7 +209,7 @@ function gen-kube-bearertoken() {
|
|||
# Vars set:
|
||||
# KUBE_UID
|
||||
function gen-uid {
|
||||
KUBE_UID=$(python -c 'import uuid; print uuid.uuid1().fields[0]')
|
||||
KUBE_UID=$(python -c 'import uuid; print(uuid.uuid1().fields[0])')
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue