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

Fix for poo#18860 #2820

Merged
merged 1 commit into from
May 2, 2017
Merged

Fix for poo#18860 #2820

merged 1 commit into from
May 2, 2017

Conversation

mimi1vx
Copy link
Member

@mimi1vx mimi1vx commented Apr 28, 2017

Start and enable serial-getty@hvc0 on SLE12 and SLE12SP1 if is
VIRTIO_CONSOLE set to 1

@mimi1vx
Copy link
Member Author

mimi1vx commented Apr 28, 2017


sub run {

select_console('root-console');
if (get_var('DROP_PERSISTENT_NET_RULES')) {
type_string "rm -f /etc/udev/rules.d/70-persistent-net.rules\n";
}

unless (sle_version_at_least('12-SP1') && !check_var('VIRTIO_CONSOLE', 1)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that unless paired with !check_var is really hard to follow. Can you use if?

Start and enable serial-getty@hvc0 on SLE12  and SLE12SP1 if is
VIRTIO_CONSOLE set to 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants