mirror of
https://github.com/rancher/os.git
synced 2025-08-14 13:03:22 +00:00
- Use burmilla GitHub repos - Release under burmilla Docker Hub - GitHub action for create releases - Updated boot image and login banner - Use Debian as default console - Updated system-cron to v0.5.0 - Updated services to latest versions - Bump up kernel to 4.14.206 - Include burmilla/os-debianconsole:v1.9.0 to initrd
30 lines
849 B
Bash
Executable File
30 lines
849 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
if [ ! -e "./build/initrd/usr/share/ros/os-config.yml" ]; then
|
|
./.dapper release
|
|
else
|
|
echo "using existing build of ros"
|
|
#./.dapper build-target
|
|
fi
|
|
|
|
source ./scripts/version
|
|
|
|
echo "---------------------------------"
|
|
echo "ln -s /usr/bin/ros /usr/bin/cloud-init-save"
|
|
echo "ros config set rancher.cloud_init.datasources [packet:https://metadata.packet.net/]"
|
|
#echo "ros config set rancher.cloud_init.datasources [packet:https://192.80.8.124/]"
|
|
echo "cloud-init-save"
|
|
echo "---------------------------------"
|
|
|
|
docker run --rm -it \
|
|
-v $(pwd)/build/initrd/usr/share:/usr/share \
|
|
-v $(pwd)/bin/ros:/usr/bin/ros \
|
|
-v /etc/ssl/certs:/etc/ssl/certs \
|
|
-v /usr/share/ca-certificates:/usr/share/ca-certificates \
|
|
-w /var/lib/rancher \
|
|
--entrypoint sh \
|
|
burmilla/os-base:v1.0.3
|