mirror of
https://github.com/rancher/os.git
synced 2025-08-27 18:59:17 +00:00
Create /etc/lsb-release file
This commit is contained in:
parent
87fa7272b7
commit
96edb78a74
@ -54,6 +54,13 @@ fi
|
|||||||
|
|
||||||
setup_ssh
|
setup_ssh
|
||||||
|
|
||||||
|
VERSION="$(rancherctl -v | awk '{print $NF}')"
|
||||||
|
cat > /etc/lsb-release << EOF
|
||||||
|
DISTRIB_ID=RancherOS
|
||||||
|
DISTRIB_RELEASE=${VERSION}
|
||||||
|
DISTRIB_DESCRIPTION="RancherOS ${VERSION}"
|
||||||
|
EOF
|
||||||
|
|
||||||
cat > /etc/respawn.conf << EOF
|
cat > /etc/respawn.conf << EOF
|
||||||
/sbin/getty 115200 tty1
|
/sbin/getty 115200 tty1
|
||||||
/sbin/getty 115200 tty2
|
/sbin/getty 115200 tty2
|
||||||
|
Loading…
Reference in New Issue
Block a user