This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# Converts LXC VPS to Alpine Linux | |
# WARNING: This script will wipe any data in your VPS! | |
# GPLv2; Partly based on https://gitlab.com/drizzt/vps2arch | |
# Original work by trimsj | |
server=http://images.linuxcontainers.org | |
path=$(wget -O- ${server}/meta/1.0/index-system | \ | |
grep -v edge | awk '-F;' '($1=="alpine" && $3=="amd64") {print $NF}' | tail -1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CONFIG_MODULES=y | |
CONFIG_HAVE_DOT_CONFIG=y | |
CONFIG_TARGET_ar71xx=y | |
CONFIG_TARGET_ar71xx_generic=y | |
CONFIG_TARGET_MULTI_PROFILE=y | |
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr841-v1.5=y | |
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr841-v10=y | |
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr841-v11=y | |
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr841-v3=y | |
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr841-v5=y |