Skip to content

Commit 985d3a9

Browse files
authored
Merge pull request #1528 from GNS3/2.2
Release v2.2.50
2 parents 1196742 + 28f8de0 commit 985d3a9

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gns3-web-ui",
3-
"version": "2.2.49",
3+
"version": "2.2.50",
44
"author": {
55
"name": "GNS3 Technology Inc.",
66
"email": "[email protected]"

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

+9
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ <h1 class="col">Docker image configuration</h1>
5959
placeholder="Start command"
6060
/>
6161
</mat-form-field>
62+
<mat-form-field class="form-field">
63+
<input
64+
matInput
65+
type="text"
66+
[ngModelOptions]="{ standalone: true }"
67+
[(ngModel)]="dockerTemplate.mac_address"
68+
placeholder="Base MAC"
69+
/>
70+
</mat-form-field>
6271
<mat-form-field class="form-field">
6372
<input
6473
formControlName="adapter"

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

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export class DockerTemplate {
1010
console_http_port: number;
1111
console_resolution: string;
1212
console_type: string;
13+
mac_address: string;
1314
custom_adapters: CustomAdapter[];
1415
default_name_format: string;
1516
environment: string;

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

+1
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ export class TemplateMocksService {
256256
console_http_port: 80,
257257
console_resolution: '1024x768',
258258
console_type: 'telnet',
259+
mac_address: '',
259260
custom_adapters: [],
260261
default_name_format: '{name}-{0}',
261262
environment: '',

0 commit comments

Comments
 (0)