Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vyatta/VyOS will fail prompt detection on Vyatta 1.5+ rolling #3245

Open
Znuff opened this issue Aug 12, 2024 · 0 comments
Open

Vyatta/VyOS will fail prompt detection on Vyatta 1.5+ rolling #3245

Znuff opened this issue Aug 12, 2024 · 0 comments
Labels
model_maintainer_needed This issue needs a maintainter for the model. See CONTRIBUTING.md#model-maintainers regression

Comments

@Znuff
Copy link

Znuff commented Aug 12, 2024

As per title, the change in this pull 0a4b73d have broken the prompt detection for Vyatta 1.5+ rolling.

I had to override it with model/vyatta.rb:

require 'oxidized/model/vyatta.rb'

class Vyatta
  prompt /@.*(:~\$|>)/
end

Also, the output seems to include some ANSI escape codes, as my config gets retrieved as:

# �[?1h�=
Version:          VyOS 1.5-rolling-202407171706�[m
# Release train:    current�[m
# Release flavor:   generic�[m
# �[m
# Built by:         [email protected]�[m
# Built on:         Wed 17 Jul 2024 17:49 UTC�[m
# Build UUID:       5f886798-85fc-4c20-ac53-8629ec6c8f5c�[m
# Build commit ID:  31684479b205ca�[m
# �[m
# Architecture:     x86_64�[m
# Boot via:         installed image�[m
# System type:      VMware guest�[m
# �[m
# Hardware vendor:  VMware, Inc.�[m
# Hardware model:   VMware Virtual Platform�[m
# Hardware S/N:     VMware-42 06 10 db 54 82 5d b5-47 a3 90 4f cc 2e d1 43�[m
# Hardware UUID:    db100642-8254-b55d-47a3-904fcc2ed143�[m
# �[m
# Copyright:        VyOS maintainers and contributors�[m
@robertcheramy robertcheramy added model_maintainer_needed This issue needs a maintainter for the model. See CONTRIBUTING.md#model-maintainers regression labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
model_maintainer_needed This issue needs a maintainter for the model. See CONTRIBUTING.md#model-maintainers regression
Projects
None yet
Development

No branches or pull requests

2 participants