Skip to content

Commit 27eecf2

Browse files
committed
Merge branch '2.2' into master-3.0
# Conflicts: # package.json # src/app/models/templates/docker-template.ts # src/app/services/template-mocks.service.ts # yarn.lock
2 parents 9d0d883 + 8068751 commit 27eecf2

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

src/app/components/preferences/docker/docker-template-details/docker-template-details.component.html

+9
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ <h1 class="col">Docker container template configuration</h1>
6666
placeholder="Start command"
6767
/>
6868
</mat-form-field>
69+
<mat-form-field class="form-field">
70+
<input
71+
matInput
72+
type="text"
73+
[ngModelOptions]="{ standalone: true }"
74+
[(ngModel)]="dockerTemplate.mac_address"
75+
placeholder="Base MAC"
76+
/>
77+
</mat-form-field>
6978
<mat-form-field class="form-field">
7079
<input
7180
formControlName="adapter"

src/app/models/templates/docker-template.ts

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export class DockerTemplate {
1111
console_resolution: string;
1212
console_type: string;
1313
aux_type: string;
14+
mac_address: string;
1415
custom_adapters: CustomAdapter[];
1516
default_name_format: string;
1617
environment: string;

src/app/services/template-mocks.service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ export class TemplateMocksService {
242242
console_resolution: '1024x768',
243243
console_type: 'telnet',
244244
aux_type: 'none',
245+
mac_address: '',
245246
custom_adapters: [],
246247
default_name_format: '{name}-{0}',
247248
environment: '',

0 commit comments

Comments
 (0)