Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MachineRegistration example #66

Merged
merged 1 commit into from
Jul 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions Examples/elemental.cattle.io/v1beta1/MachineRegistration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@ metadata:
name: test-machine
spec:
config:
data:
cloud-config:
users:
- name: root
passwd: password
# add your custom cloud-config snippets to customize your system
write_files:
content: V2h5IGFyZSB5b3UgY2hlY2tpbmcgdGhpcz8K
encoding: b64
- content: V2h5IGFyZSB5b3UgY2hlY2tpbmcgdGhpcz8K
encoding: b64
path: /etc/custom.file
elemental:
install:
reboot: true
device: /dev/vda
iso: https://something.example.com
machineInventoryLabels:
clusterName: test