mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-24 06:59:40 -05:00
Add AWS nvme udev rules (#351)
This commit is contained in:
parent
c82d5ccba9
commit
26cfbfdd1f
3
image/mkosi.conf.d/aws.conf
Normal file
3
image/mkosi.conf.d/aws.conf
Normal file
@ -0,0 +1,3 @@
|
||||
[Content]
|
||||
Packages=
|
||||
ec2-utils
|
39
image/mkosi.reposdir/amzn2-core.repo
Normal file
39
image/mkosi.reposdir/amzn2-core.repo
Normal file
@ -0,0 +1,39 @@
|
||||
[amzn2-core]
|
||||
name=Amazon Linux 2 core repository
|
||||
#mirrorlist=$awsproto://$amazonlinux.$awsregion.$awsdomain/$releasever/$product/$target/$basearch/mirror.list
|
||||
mirrorlist=https://amazonlinux-2-repos-us-east-2.s3.dualstack.us-east-2.amazonaws.com/2/core/latest/x86_64/mirror.list
|
||||
priority=10
|
||||
gpgcheck=1
|
||||
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-amazon-linux-2
|
||||
gpgkey=https://cdn.amazonlinux.com/_assets/11CF1F95C87F5B1A.asc
|
||||
enabled=1
|
||||
metadata_expire=300
|
||||
mirrorlist_expire=300
|
||||
report_instanceid=yes
|
||||
includepkgs=ec2-utils
|
||||
|
||||
# [amzn2-core-source]
|
||||
# name=Amazon Linux 2 core repository - source packages
|
||||
# mirrorlist=$awsproto://$amazonlinux.$awsregion.$awsdomain/$releasever/$product/$target/SRPMS/mirror.list
|
||||
# priority=10
|
||||
# gpgcheck=1
|
||||
# #gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-amazon-linux-2
|
||||
# gpgkey=https://cdn.amazonlinux.com/_assets/11CF1F95C87F5B1A.asc
|
||||
# enabled=0
|
||||
# metadata_expire=300
|
||||
# mirrorlist_expire=300
|
||||
# report_instanceid=yes
|
||||
# includepkgs=ec2-utils
|
||||
|
||||
# [amzn2-core-debuginfo]
|
||||
# name=Amazon Linux 2 core repository - debuginfo packages
|
||||
# mirrorlist=$awsproto://$amazonlinux.$awsregion.$awsdomain/$releasever/$product/$target/debuginfo/$basearch/mirror.list
|
||||
# priority=10
|
||||
# gpgcheck=1
|
||||
# #gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-amazon-linux-2
|
||||
# gpgkey=https://cdn.amazonlinux.com/_assets/11CF1F95C87F5B1A.asc
|
||||
# enabled=0
|
||||
# metadata_expire=300
|
||||
# mirrorlist_expire=300
|
||||
# report_instanceid=yes
|
||||
# includepkgs=ec2-utils
|
@ -56,4 +56,17 @@ install() {
|
||||
"/usr/lib/udev/rules.d/64-gce-disk-removal.rules"
|
||||
inst_simple "/usr/lib/udev/rules.d/65-gce-disk-naming.rules" \
|
||||
"/usr/lib/udev/rules.d/65-gce-disk-naming.rules"
|
||||
|
||||
inst_script "/usr/sbin/ebsnvme-id" \
|
||||
"/usr/sbin/ebsnvme-id"
|
||||
inst_script "/usr/bin/ec2-metadata" \
|
||||
"/usr/bin/ec2-metadata"
|
||||
inst_script "/usr/lib/udev/ec2nvme-nsid" \
|
||||
"/usr/lib/udev/ec2nvme-nsid"
|
||||
inst_script "/usr/lib/udev/ec2nvme-nsid" \
|
||||
"/usr/sbin/ec2nvme-nsid"
|
||||
inst_script "/usr/sbin/ec2udev-vbd" \
|
||||
"/usr/sbin/ec2udev-vbd"
|
||||
inst_simple "/usr/lib/udev/rules.d/70-ec2-nvme-devices.rules" \
|
||||
"/usr/lib/udev/rules.d/70-ec2-nvme-devices.rules"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user