This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| app-notes:set-fixed-frame [2026/09/30 11:58] – [2. Make additional settings in the container] gray | app-notes:set-fixed-frame [2026/09/30 15:05] (current) – [3. Additional information] gray | ||
|---|---|---|---|
| Line 142: | Line 142: | ||
| ~ $ vi / | ~ $ vi / | ||
| - | # Setting up a USB flash drive in the LXC container | + | # Setting up a USB drive in the LXC container |
| lxc.cgroup.devices.allow = c 188:1 rwm | lxc.cgroup.devices.allow = c 188:1 rwm | ||
| lxc.mount.entry = / | lxc.mount.entry = / | ||
| Line 156: | Line 156: | ||
| < | < | ||
| ~ $ lxc-attach guest0 | ~ $ lxc-attach guest0 | ||
| - | root@LXCNAME: | + | root@LXCNAME: |
| root@LXCNAME: | root@LXCNAME: | ||
| </ | </ | ||
| Line 411: | Line 411: | ||
| rate_hz = int(sys.argv[1]) | rate_hz = int(sys.argv[1]) | ||
| if not (1 <= rate_hz <= 10): | if not (1 <= rate_hz <= 10): | ||
| - | raise ValueErro# Name ggf. anpassen, s.u. | + | raise ValueErro |
| - | r | + | |
| except ValueError: | except ValueError: | ||
| print(" | print(" | ||
| Line 466: | Line 465: | ||
| - | def run_remote2command(client, cmd): | + | def run_remote_command(client, cmd): |
| stdin, stdout, stderr = client.exec_command(cmd) | stdin, stdout, stderr = client.exec_command(cmd) | ||
| out = stdout.read().decode().strip() | out = stdout.read().decode().strip() | ||