-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from obsrvbl-oss/update_public_repository
Update to v5.1.3
- Loading branch information
Showing
22 changed files
with
314 additions
and
92 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
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
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
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
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,30 @@ | ||
# Ubuntu Autoinstall | ||
|
||
Link: https://canonical-subiquity.readthedocs-hosted.com/en/latest/intro-to-autoinstall.html | ||
|
||
## DHCP/Static IP | ||
|
||
* Automated DHCP: `nocloud-dhcp/user-data` | ||
* Static IP: `nocloud-nodhcp/user-data` (there is | ||
*interactive-sections* which will invoke text UI to enter IP | ||
address manually or select the DHCP). | ||
|
||
|
||
## Note | ||
|
||
The `autoinstall.yaml` is expected to be present in the root of ISO | ||
Image. Its format is missing main `autoinstall:` header in 22.04. In | ||
later version (>= 24) it is expected to have different indentation: | ||
|
||
```yaml | ||
# Autoinstall configuration | ||
autoinstall: | ||
version: 1 | ||
|
||
# Storage configuration with LVM | ||
storage: | ||
layout: | ||
name: lvm | ||
... | ||
``` | ||
|
Empty file.
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,65 @@ | ||
#cloud-config | ||
# https://ubuntu.com/server/docs/install/autoinstall-reference | ||
autoinstall: | ||
version: 1 | ||
|
||
interactive-sections: | ||
- network | ||
- identity | ||
- locale | ||
- keyboard | ||
|
||
|
||
apt: | ||
fallback: offline-install | ||
preserve_sources_list: false | ||
|
||
|
||
|
||
|
||
source: | ||
search_drivers: false | ||
id: ubuntu-server | ||
|
||
storage: | ||
layout: | ||
name: lvm | ||
|
||
|
||
|
||
|
||
users: | ||
- name: ubuntu | ||
groups: [adm, cdrom, dip, plugdev, lxd, sudo] | ||
lock-passwd: false | ||
sudo: ALL=(ALL) NOPASSWD:ALL | ||
shell: /bin/bash | ||
locale: en_US.UTF-8 | ||
timezone: UTC | ||
|
||
ssh: | ||
install-server: true | ||
allow-pw: true | ||
ssh_pwauth: true | ||
|
||
resize_rootfs: false | ||
|
||
# iptables-persistent settings | ||
early-commands: | ||
- echo 'iptables-persistent iptables-persistent/autosave_v6 boolean false' | debconf-set-selections | ||
- echo 'iptables-persistent iptables-persistent/autosave_v4 boolean false' | debconf-set-selections | ||
|
||
|
||
|
||
late-commands: | ||
- rm -r /target/var/cache/apt | ||
- cp -r /cdrom/apt /target/var/cache/ | ||
- curtin in-target --target /target -- apt-get -yy install apt-transport-https iptables-persistent ipset libjansson4 libltdl7 liblzo2-2 libnet1 libyaml-0-2 nano ntp ntpdate snmp tcpdump net-tools libsnappy1v5 python3-dateutil | ||
- | | ||
if [ -d /sys/firmware/efi ]; then | ||
apt-get install -y efibootmgr | ||
efibootmgr -o $(efibootmgr | perl -n -e '/Boot(.+)\* ubuntu/ && print $1') | ||
fi | ||
- cp -r /cdrom/ona/ /target/root/ | ||
- curtin in-target --target=/target -- bash -xv /root/ona/configure.sh | ||
|
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
Oops, something went wrong.