chore: Remove duplicate config
This commit is contained in:
parent
19efeada19
commit
4bb4791a55
|
@ -1,82 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
|
|
||||||
# NOTE: If you are using alpine-cloud-images to build public cloud images
|
|
||||||
# for something/someone other than Alpine Linux, you *MUST* override
|
|
||||||
# *AT LEAST* the 'project' setting with a unique identifier string value
|
|
||||||
# via a "config overlay" to avoid image import and publishing collisions.
|
|
||||||
|
|
||||||
project = "https://alpinelinux.org/cloud"
|
|
||||||
|
|
||||||
# all build configs start with these
|
|
||||||
Default {
|
|
||||||
project = ${project}
|
|
||||||
|
|
||||||
# image name/description components
|
|
||||||
name = [ alpine ]
|
|
||||||
description = [ Alpine Linux ]
|
|
||||||
|
|
||||||
motd {
|
|
||||||
welcome = "Welcome to Alpine!"
|
|
||||||
|
|
||||||
wiki = "The Alpine Wiki contains a large amount of how-to guides and general\n"\
|
|
||||||
"information about administrating Alpine systems.\n"\
|
|
||||||
"See <https://wiki.alpinelinux.org/>."
|
|
||||||
|
|
||||||
version_notes = "Release Notes:\n"\
|
|
||||||
"* <https://alpinelinux.org/posts/Alpine-{version}.0/released.html>"
|
|
||||||
release_notes = "* <https://alpinelinux.org/posts/Alpine-{release}/released.html>"
|
|
||||||
}
|
|
||||||
|
|
||||||
# initial provisioning script and data directory
|
|
||||||
scripts = [ setup ]
|
|
||||||
script_dirs = [ setup.d ]
|
|
||||||
|
|
||||||
size = 1G
|
|
||||||
login = alpine
|
|
||||||
|
|
||||||
local_format = qcow2
|
|
||||||
|
|
||||||
# image access
|
|
||||||
access.PUBLIC = true
|
|
||||||
|
|
||||||
# image publication
|
|
||||||
regions.ALL = true
|
|
||||||
}
|
|
||||||
|
|
||||||
# profile build matrix
|
|
||||||
Dimensions {
|
|
||||||
version {
|
|
||||||
"3.16" { include required("version/3.16.conf") }
|
|
||||||
"3.15" { include required("version/3.15.conf") }
|
|
||||||
"3.14" { include required("version/3.14.conf") }
|
|
||||||
"3.13" { include required("version/3.13.conf") }
|
|
||||||
edge { include required("version/edge.conf") }
|
|
||||||
}
|
|
||||||
arch {
|
|
||||||
x86_64 { include required("arch/x86_64.conf") }
|
|
||||||
aarch64 { include required("arch/aarch64.conf") }
|
|
||||||
}
|
|
||||||
firmware {
|
|
||||||
bios { include required("firmware/bios.conf") }
|
|
||||||
uefi { include required("firmware/uefi.conf") }
|
|
||||||
}
|
|
||||||
bootstrap {
|
|
||||||
tiny { include required("bootstrap/tiny.conf") }
|
|
||||||
cloudinit { include required("bootstrap/cloudinit.conf") }
|
|
||||||
}
|
|
||||||
cloud {
|
|
||||||
aws { include required("cloud/aws.conf") }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# all build configs merge these at the very end
|
|
||||||
Mandatory {
|
|
||||||
name = [ "r{revision}" ]
|
|
||||||
description = [ "- https://alpinelinux.org/cloud" ]
|
|
||||||
|
|
||||||
# final motd message
|
|
||||||
motd.motd_change = "You may change this message by editing /etc/motd."
|
|
||||||
|
|
||||||
# final provisioning script
|
|
||||||
scripts = [ cleanup ]
|
|
||||||
}
|
|
|
@ -1,15 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
name = [aarch64]
|
|
||||||
arch_name = aarch64
|
|
||||||
|
|
||||||
# aarch64 is UEFI only
|
|
||||||
EXCLUDE = [bios]
|
|
||||||
|
|
||||||
qemu.machine_type = virt
|
|
||||||
qemu.args = [
|
|
||||||
[-cpu, cortex-a57],
|
|
||||||
[-boot, d],
|
|
||||||
[-device, virtio-gpu-pci],
|
|
||||||
[-device, usb-ehci],
|
|
||||||
[-device, usb-kbd],
|
|
||||||
]
|
|
|
@ -1,9 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
name = [x86_64]
|
|
||||||
arch_name = x86_64
|
|
||||||
|
|
||||||
# TODO: until we have a image metadata service, let's avoid UEFI
|
|
||||||
EXCLUDE = [uefi]
|
|
||||||
|
|
||||||
qemu.machine_type = null
|
|
||||||
qemu.args = null
|
|
|
@ -1,16 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
name = [cloudinit]
|
|
||||||
bootstrap_name = cloud-init
|
|
||||||
bootstrap_url = "https://cloud-init.io/"
|
|
||||||
|
|
||||||
# start cloudinit images with 3.15
|
|
||||||
EXCLUDE = ["3.12", "3.13", "3.14"]
|
|
||||||
|
|
||||||
packages {
|
|
||||||
cloud-init = true
|
|
||||||
openssh-server-pam = true
|
|
||||||
e2fsprogs-extra = true # for resize2fs
|
|
||||||
}
|
|
||||||
services.default.cloud-init-hotplugd = true
|
|
||||||
|
|
||||||
scripts = [ setup-cloudinit ]
|
|
|
@ -1,33 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
name = [tiny]
|
|
||||||
bootstrap_name = Tiny Cloud
|
|
||||||
bootstrap_url = "https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud"
|
|
||||||
|
|
||||||
services {
|
|
||||||
sysinit.tiny-cloud-early = true
|
|
||||||
default.tiny-cloud = true
|
|
||||||
default.tiny-cloud-final = true
|
|
||||||
}
|
|
||||||
|
|
||||||
WHEN {
|
|
||||||
aws {
|
|
||||||
packages.tiny-cloud-aws = true
|
|
||||||
WHEN {
|
|
||||||
"3.12" {
|
|
||||||
# tiny-cloud-network requires ifupdown-ng (unavailable in 3.12)
|
|
||||||
packages.tiny-cloud-aws = null
|
|
||||||
services.sysinit.tiny-cloud-early = null
|
|
||||||
services.default.tiny-cloud = null
|
|
||||||
services.default.tiny-cloud-final = null
|
|
||||||
# fall back to tiny-ec2-bootstrap instead
|
|
||||||
packages.tiny-ec2-bootstrap = true
|
|
||||||
services.default.tiny-ec2-bootstrap = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
# azure.packages.tiny-cloud-azure = true
|
|
||||||
# gcp.packages.tiny-cloud-gcp = true
|
|
||||||
# oci.packages.tiny-cloud-oci = true
|
|
||||||
}
|
|
||||||
|
|
||||||
scripts = [ setup-tiny ]
|
|
|
@ -1,37 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
cloud_name = Amazon Web Services
|
|
||||||
cloud_image_url = "https://{region}.console.aws.amazon.com/ec2/home#Images:visibility=public-images;imageId={image_id}",
|
|
||||||
cloud_launch_url = "https://{region}.console.aws.amazon.com/ec2/home#launchAmi={image_id}"
|
|
||||||
|
|
||||||
builder = qemu
|
|
||||||
ntp_server = 169.254.169.123
|
|
||||||
|
|
||||||
kernel_modules {
|
|
||||||
ena = true
|
|
||||||
nvme = true
|
|
||||||
}
|
|
||||||
kernel_options {
|
|
||||||
"nvme_core.io_timeout=4294967295" = true
|
|
||||||
}
|
|
||||||
initfs_features {
|
|
||||||
ena = true
|
|
||||||
nvme = true
|
|
||||||
}
|
|
||||||
|
|
||||||
access.PUBLIC = true
|
|
||||||
regions.ALL = true
|
|
||||||
|
|
||||||
WHEN {
|
|
||||||
aarch64 {
|
|
||||||
# new AWS aarch64 default...
|
|
||||||
kernel_modules.gpio_pl061 = true
|
|
||||||
initfs_features.gpio_pl061 = true
|
|
||||||
WHEN {
|
|
||||||
"3.14 3.13 3.12" {
|
|
||||||
# ...but not supported for older versions
|
|
||||||
kernel_modules.gpio_pl061 = false
|
|
||||||
initfs_features.gpio_pl061 = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
name = [bios]
|
|
||||||
firmware_name = BIOS
|
|
||||||
|
|
||||||
bootloader = extlinux
|
|
||||||
packages.syslinux = --no-scripts
|
|
||||||
qemu.firmware = null
|
|
|
@ -1,18 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
name = [uefi]
|
|
||||||
firmware_name = UEFI
|
|
||||||
|
|
||||||
bootloader = grub-efi
|
|
||||||
packages {
|
|
||||||
grub-efi = --no-scripts
|
|
||||||
dosfstools = true
|
|
||||||
}
|
|
||||||
|
|
||||||
WHEN {
|
|
||||||
aarch64 {
|
|
||||||
qemu.firmware = work/firmware/uefi-aarch64.bin
|
|
||||||
}
|
|
||||||
x86_64 {
|
|
||||||
qemu.firmware = work/firmware/uefi-x86_64.bin
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
alpine.conf
|
|
|
@ -1,3 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
|
|
||||||
include required("base/2.conf")
|
|
|
@ -1,3 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
|
|
||||||
include required("base/2.conf")
|
|
|
@ -1,7 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
|
|
||||||
include required("base/3.conf")
|
|
||||||
|
|
||||||
motd {
|
|
||||||
sudo_deprecated = "NOTE: 'sudo' has been deprecated, please use 'doas' instead."
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
|
|
||||||
include required("base/4.conf")
|
|
||||||
|
|
||||||
motd {
|
|
||||||
sudo_removed = "NOTE: 'sudo' is no longer installed by default, please use 'doas' instead."
|
|
||||||
}
|
|
|
@ -1,60 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
|
|
||||||
repos {
|
|
||||||
"https://dl-cdn.alpinelinux.org/alpine/v{version}/main" = true
|
|
||||||
"https://dl-cdn.alpinelinux.org/alpine/v{version}/community" = true
|
|
||||||
"https://dl-cdn.alpinelinux.org/alpine/v{version}/testing" = false
|
|
||||||
}
|
|
||||||
|
|
||||||
packages {
|
|
||||||
alpine-base = true
|
|
||||||
linux-virt = true
|
|
||||||
alpine-mirrors = true
|
|
||||||
chrony = true
|
|
||||||
e2fsprogs = true
|
|
||||||
openssh = true
|
|
||||||
sudo = true
|
|
||||||
tzdata = true
|
|
||||||
}
|
|
||||||
|
|
||||||
services {
|
|
||||||
sysinit {
|
|
||||||
devfs = true
|
|
||||||
dmesg = true
|
|
||||||
hwdrivers = true
|
|
||||||
mdev = true
|
|
||||||
}
|
|
||||||
boot {
|
|
||||||
acpid = true
|
|
||||||
bootmisc = true
|
|
||||||
hostname = true
|
|
||||||
hwclock = true
|
|
||||||
modules = true
|
|
||||||
swap = true
|
|
||||||
sysctl = true
|
|
||||||
syslog = true
|
|
||||||
}
|
|
||||||
default {
|
|
||||||
chronyd = true
|
|
||||||
networking = true
|
|
||||||
sshd = true
|
|
||||||
}
|
|
||||||
shutdown {
|
|
||||||
killprocs = true
|
|
||||||
mount-ro = true
|
|
||||||
savecache = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
kernel_modules {
|
|
||||||
sd-mod = true
|
|
||||||
usb-storage = true
|
|
||||||
ext4 = true
|
|
||||||
}
|
|
||||||
|
|
||||||
kernel_options {
|
|
||||||
"console=ttyS0,115200n8" = true
|
|
||||||
}
|
|
||||||
|
|
||||||
initfs_features {
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
|
|
||||||
include required("1.conf")
|
|
||||||
|
|
||||||
packages {
|
|
||||||
# drop old alpine-mirrors
|
|
||||||
alpine-mirrors = null
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
|
|
||||||
include required("2.conf")
|
|
||||||
|
|
||||||
packages {
|
|
||||||
# doas will officially replace sudo in 3.16
|
|
||||||
doas = true
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
|
|
||||||
include required("3.conf")
|
|
||||||
|
|
||||||
packages {
|
|
||||||
# doas officially replaces sudo in 3.16
|
|
||||||
sudo = false
|
|
||||||
}
|
|
|
@ -1,15 +0,0 @@
|
||||||
# vim: ts=2 et:
|
|
||||||
|
|
||||||
include required("base/4.conf")
|
|
||||||
|
|
||||||
motd {
|
|
||||||
sudo_removed = "NOTE: 'sudo' is no longer installed by default, please use 'doas' instead."
|
|
||||||
}
|
|
||||||
|
|
||||||
# clear out inherited repos
|
|
||||||
repos = null
|
|
||||||
repos {
|
|
||||||
"https://dl-cdn.alpinelinux.org/alpine/edge/main" = true
|
|
||||||
"https://dl-cdn.alpinelinux.org/alpine/edge/community" = true
|
|
||||||
"https://dl-cdn.alpinelinux.org/alpine/edge/testing" = true
|
|
||||||
}
|
|
Loading…
Reference in New Issue