diff --git a/doc/configuration.rst b/doc/configuration.rst index eabb44155..e7b14c9be 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -1687,7 +1687,7 @@ Implements: .. code-block:: yaml ShellDriver: - prompt: 'root@\w+:[^ ]+ ' + prompt: 'root@[\w-]+:[^ ]+ ' login_prompt: ' login: ' username: 'root' @@ -3300,7 +3300,7 @@ Here is an example environment config: SerialDriver: {} BareboxDriver: {} ShellDriver: - prompt: 'root@\w+:[^ ]+ ' + prompt: 'root@[\w-]+:[^ ]+ ' login_prompt: ' login: ' username: 'root' BareboxStrategy: {} @@ -3347,7 +3347,7 @@ Here is an example environment config: ManualPowerDriver: {} SerialDriver: {} ShellDriver: - prompt: 'root@\w+:[^ ]+ ' + prompt: 'root@[\w-]+:[^ ]+ ' login_prompt: ' login: ' username: 'root' ShellStrategy: {} @@ -3395,7 +3395,7 @@ Here is an example environment config: SerialDriver: {} UBootDriver: {} ShellDriver: - prompt: 'root@\w+:[^ ]+ ' + prompt: 'root@[\w-]+:[^ ]+ ' login_prompt: ' login: ' username: 'root' UBootStrategy: {} diff --git a/doc/getting_started.rst b/doc/getting_started.rst index c27d6b161..46953fd78 100644 --- a/doc/getting_started.rst +++ b/doc/getting_started.rst @@ -126,7 +126,7 @@ and ``password`` of the ShellDriver driver in ``local.yaml``: name: "example" SerialDriver: {} ShellDriver: - prompt: 'root@\w+:[^ ]+ ' + prompt: 'root@[\w-]+:[^ ]+ ' login_prompt: ' login: ' username: 'root' diff --git a/doc/usage.rst b/doc/usage.rst index 9d423d50b..d7184b5dd 100644 --- a/doc/usage.rst +++ b/doc/usage.rst @@ -494,7 +494,7 @@ access this board: drivers: SerialDriver: {} ShellDriver: - prompt: 'root@\w+:[^ ]+ ' + prompt: 'root@[\w-]+:[^ ]+ ' login_prompt: ' login: ' username: 'root' @@ -665,7 +665,7 @@ setup: BareboxDriver: prompt: 'barebox@[^:]+:[^ ]+ ' ShellDriver: - prompt: 'root@\w+:[^ ]+ ' + prompt: 'root@[\w-]+:[^ ]+ ' login_prompt: ' login: ' username: 'root' BareboxStrategy: {} diff --git a/man/labgrid-device-config.rst b/man/labgrid-device-config.rst index ba0156830..f7818c23f 100644 --- a/man/labgrid-device-config.rst +++ b/man/labgrid-device-config.rst @@ -203,7 +203,7 @@ A sample configuration with one `main` target, accessible via SerialPort drivers: SerialDriver: {} ShellDriver: - prompt: 'root@\w+:[^ ]+ ' + prompt: 'root@[\w-]+:[^ ]+ ' login_prompt: ' login: ' username: 'root' @@ -221,7 +221,7 @@ in the loaded local python file: drivers: SerialDriver: {} ShellDriver: - prompt: 'root@\w+:[^ ]+ ' + prompt: 'root@[\w-]+:[^ ]+ ' login_prompt: ' login: ' username: 'root' IMXUSBDriver: {}