-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
images: add aws and azure image descriptors
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
- Loading branch information
Leandro Dorileo
committed
Oct 24, 2018
1 parent
c34f410
commit 7bcd4c9
Showing
5 changed files
with
163 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#clear-linux-config | ||
|
||
# switch between aliases if you want to install to an actuall block device | ||
# i.e /dev/sda | ||
block-devices: [ | ||
{name: "aws", file: "aws.img"} | ||
] | ||
|
||
targetMedia: | ||
- name: ${aws} | ||
size: "512M" | ||
type: disk | ||
children: | ||
- name: ${aws}1 | ||
fstype: ext4 | ||
mountpoint: / | ||
options: -b 4096 -O ^64bit | ||
size: "512M" | ||
type: part | ||
|
||
bundles: [ | ||
openssh-server, | ||
os-cloudguest-aws, | ||
os-core, | ||
os-core-update, | ||
] | ||
|
||
postArchive: false | ||
postReboot: false | ||
telemetry: false | ||
legacyBios: true | ||
|
||
keyboard: us | ||
language: en_US.UTF-8 | ||
kernel: kernel-aws | ||
|
||
post-install: [ | ||
{cmd: "scripts/disable-ssh-root.sh ${chrootDir}"} | ||
] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#clear-linux-config | ||
|
||
# switch between aliases if you want to install to an actuall block device | ||
# i.e /dev/sda | ||
block-devices: [ | ||
{name: "azure-docker", file: "azure.img"} | ||
] | ||
|
||
targetMedia: | ||
- name: ${azure-docker} | ||
size: "20G" | ||
type: disk | ||
children: | ||
- name: ${azure-docker}1 | ||
fstype: ext4 | ||
mountpoint: / | ||
options: -O ^64bit | ||
size: "20G" | ||
type: part | ||
|
||
bundles: [ | ||
cloud-native-basic, | ||
editors, | ||
network-basic, | ||
openssh-server, | ||
os-cloudguest-azure, | ||
os-core, | ||
os-core-update, | ||
storage-utils, | ||
sysadmin-basic, | ||
] | ||
|
||
postArchive: false | ||
postReboot: false | ||
telemetry: false | ||
legacyBios: true | ||
|
||
keyboard: us | ||
language: en_US.UTF-8 | ||
kernel: kernel-hyperv |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#clear-linux-config | ||
|
||
# switch between aliases if you want to install to an actuall block device | ||
# i.e /dev/sda | ||
block-devices: [ | ||
{name: "bdevice", file: "azure.img"} | ||
] | ||
|
||
targetMedia: | ||
- name: ${bdevice} | ||
size: "20G" | ||
type: disk | ||
children: | ||
- name: ${bdevice}1 | ||
fstype: ext4 | ||
mountpoint: / | ||
options: -O ^64bit | ||
size: "20G" | ||
type: part | ||
|
||
bundles: [ | ||
editors, | ||
machine-learning-basic, | ||
network-basic, | ||
openssh-server, | ||
os-cloudguest-azure, | ||
os-core, | ||
os-core-update, | ||
storage-utils, | ||
sysadmin-basic, | ||
] | ||
|
||
postArchive: false | ||
postReboot: false | ||
telemetry: false | ||
legacyBios: true | ||
|
||
keyboard: us | ||
language: en_US.UTF-8 | ||
kernel: kernel-hyperv |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#clear-linux-config | ||
|
||
# switch between aliases if you want to install to an actuall block device | ||
# i.e /dev/sda | ||
block-devices: [ | ||
{name: "azure", file: "azure.img"} | ||
] | ||
|
||
targetMedia: | ||
- name: ${azure} | ||
size: "20G" | ||
type: disk | ||
children: | ||
- name: ${azure}1 | ||
fstype: ext4 | ||
mountpoint: / | ||
options: -O ^64bit | ||
size: "20G" | ||
type: part | ||
|
||
bundles: [ | ||
editors, | ||
network-basic, | ||
openssh-server, | ||
os-cloudguest-azure, | ||
os-core, | ||
os-core-update, | ||
storage-utils, | ||
sysadmin-basic, | ||
] | ||
|
||
postArchive: false | ||
postReboot: false | ||
telemetry: false | ||
legacyBios: true | ||
|
||
keyboard: us | ||
language: en_US.UTF-8 | ||
kernel: kernel-hyperv |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
CHROOTPATH=$1 | ||
sudo mkdir -p ${CHROOTPATH}/etc/ssh/ | ||
sudo echo "PermitRootLogin no" >> ${CHROOTPATH}/etc/ssh/sshd_config |