livecd-rootfs/live-build/ubuntu-cpc/hooks/010-write-etc-ec2-version.c...

5 lines
78 B

#!/bin/bash -eux
. /etc/os-release
echo "Ubuntu $VERSION" > /etc/ec2_version