pine64 hardware and arm64 arch for kubernetes

This commit is contained in:
do
2022-10-18 16:44:16 +02:00
parent 9e1a05a4e8
commit 6b8e1049cf
2 changed files with 3 additions and 1 deletions

View File

@@ -17,6 +17,8 @@ def _hardware():
for line in open("/etc/armbian-release","r").readlines():
if re.match("BOARD=espressobin", line):
h = "Espressobin"
if re.match("BOARD=pine64", line):
h = "Pine64"
return h
def main():