-
Notifications
You must be signed in to change notification settings - Fork 360
Expand file tree
/
Copy pathplatform-config-defaults-x86-64.yml
More file actions
131 lines (106 loc) · 3.03 KB
/
platform-config-defaults-x86-64.yml
File metadata and controls
131 lines (106 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
---
######################################################################
#
# platform-config-defaults-x86-64.yml
#
# Default settings for x86-64 platform-config YAML declarations
#
# X86 platforms assume a GPT partition table and ext4 partitions
#
######################################################################
default:
grub:
label: gpt
# default, use a GPT (not msdos) label
# this is mostly to *reject* invalid disk labels,
# since we will never create our own
kernel-3.2: &kernel-3-2
=: kernel-3.2-lts-x86_64-all
package: onl-kernel-3.2-lts-x86-64-all:amd64
kernel-3.16: &kernel-3-16
=: kernel-3.16-lts-x86_64-all
package: onl-kernel-3.16-lts-x86-64-all:amd64
kernel-4.9: &kernel-4-9
=: kernel-4.9-lts-x86_64-all
package: onl-kernel-4.9-lts-x86-64-all:amd64
kernel-4.14: &kernel-4-14
=: kernel-4.14-lts-x86_64-all
package: onl-kernel-4.14-lts-x86-64-all:amd64
kernel-4.19: &kernel-4-19
=: kernel-4.19-lts-x86_64-all
package: onl-kernel-4.19-lts-x86-64-all:amd64
kernel-5.4: &kernel-5-4
=: kernel-5.4-lts-x86_64-all
package: onl-kernel-5.4-lts-x86-64-all:amd64
kernel-6.1: &kernel-6-1
=: kernel-6.1-lts-x86_64-all
package: onl-kernel-6.1-lts-x86-64-all:amd64
# pick one of the above kernels
kernel:
<<: *kernel-3-16
# GRUB command line arguments for 'serial' declaration
# this is equivalent to, but not in the same format as,
# the linux 'console=' arguments below
# Default for ttyS1
serial: >-
--port=0x2f8
--speed=115200
--word=8
--parity=no
--stop=1
# supplemental kernel arguments
# (not including kernel, initrd and ONL-specific options)
# Default for ttyS1
args: >-
nopat
console=ttyS1,115200n8
### Defaults for ttyS0
##serial: >-
## --port=0x3f8
## --speed=115200
## --word=8
## --parity=no
## --stop=1
##args: >-
## nopat
## console=ttyS0,115200n8
##device: /dev/vda
### install to a specific block device
device: ONIE-BOOT
# install to the device that contains the ONIE-BOOT partition
# (query using parted and/or blkid)
# Default partitioning scheme
# boot, config --> 128MiB
# images --> 1GiB
# data --> rest of disk
# default format (as shown) is ext4
installer:
- ONL-BOOT:
=: 128MiB
format: ext4
- ONL-CONFIG:
=: 128MiB
format: ext4
- ONL-IMAGES:
=: 1GiB
format: ext4
- ONL-DATA:
=: 100%
format: ext4
### Sample partitioning scheme experiencing disk space pressure
##installer:
##- ONL-BOOT: 128MiB
##- ONL-CONFIG: 128MiB
##- ONL-IMAGES: 384MiB
##- ONL-DATA: 100%
network:
# remap interface names on boot (loader only)
# make sure you have a valid 'ma1' entry in your platform config...
interfaces:
# this should work for most systems
ma1:
name: eth0
# for other wierd corner cases
##ma1:
## name: ~
## syspath: SOME-PATH