summaryrefslogtreecommitdiff
path: root/testenv
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-10-08 03:20:59 +0300
committerDevaev Maxim <[email protected]>2019-10-08 10:43:11 +0300
commitbc3a15aba3c3a8ffb58e076af1bff9ff850e5296 (patch)
treef14be78bc55eb329dd2439e1dd10770089276b9a /testenv
parent149c0611f8d8a41f1e4fae04c3f6dc3dbb43cc29 (diff)
testenv: using override instead complete config
Diffstat (limited to 'testenv')
-rw-r--r--testenv/main.yaml51
-rw-r--r--testenv/v1-vga.override.yaml22
2 files changed, 22 insertions, 51 deletions
diff --git a/testenv/main.yaml b/testenv/main.yaml
deleted file mode 100644
index e1589a34..00000000
--- a/testenv/main.yaml
+++ /dev/null
@@ -1,51 +0,0 @@
-kvmd:
- server:
- unix: /run/kvmd/kvmd.sock
- unix_rm: true
- unix_mode: 0666
-
- auth: !include auth.yaml
-
- hid:
- reset_pin: 4
- device: /dev/ttyS10
- noop: true
-
- atx:
- power_led_pin: 24
- hdd_led_pin: 22
- power_switch_pin: 23
- reset_switch_pin: 27
-
- msd:
- target_pin: 12
- reset_pin: 13
- device: /dev/kvmd-msd
-
- streamer:
- cap_pin: 17
- conv_pin: 18
- sync_delay: 0
- init_delay: 1
- init_restart_after: 1
- desired_fps: 30
- max_fps: 40
- unix: /run/kvmd/ustreamer.sock
- cmd:
- - "/usr/bin/ustreamer"
- - "--device=/dev/kvmd-video"
- - "--quality={quality}"
- - "--desired-fps={desired_fps}"
- - "--resolution=800x600"
- - "--last-as-blank=0"
- - "--unix={unix}"
- - "--unix-rm"
- - "--unix-mode=0666"
- - "--no-log-colors"
-
-ipmi:
- kvmd:
- unix: /run/kvmd/kvmd.sock
-
-logging: !include logging.yaml
-override: !include override.yaml
diff --git a/testenv/v1-vga.override.yaml b/testenv/v1-vga.override.yaml
new file mode 100644
index 00000000..2f64030a
--- /dev/null
+++ b/testenv/v1-vga.override.yaml
@@ -0,0 +1,22 @@
+kvmd:
+ server:
+ unix_mode: 0666
+
+ hid:
+ device: /dev/ttyS10
+ noop: true
+
+ streamer:
+ desired_fps: 30
+ max_fps: 40
+ cmd:
+ - "/usr/bin/ustreamer"
+ - "--device=/dev/kvmd-video"
+ - "--quality={quality}"
+ - "--desired-fps={desired_fps}"
+ - "--resolution=800x600"
+ - "--last-as-blank=0"
+ - "--unix={unix}"
+ - "--unix-rm"
+ - "--unix-mode=0666"
+ - "--no-log-colors"