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 possible to start installation without network (#1221109) #208

Conversation

jkonecny12
Copy link
Member

Payload manager is started from network spoke if network settings change.
This will start source spoke and software spoke reach-ability testing.

Resolves: rhbz#1221109

@jkonecny12 jkonecny12 added the master Please, use the `f39` label instead. label Jul 15, 2015

def apply(self):
_update_network_data(self.data, self.network_control_box)
log.debug("network: apply ksdata %s", self.data.network)
self.network_control_box.kill_nmce(msg="leaving network spoke")

# if installation media is not used try if source is reachable
if self.data.method.method != "cdrom" and self._network_change:
Copy link
Contributor

Choose a reason for hiding this comment

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

hd is another possible non-network source.

Copy link
Member Author

Choose a reason for hiding this comment

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

True. I'll change it locally.

@jkonecny12 jkonecny12 force-pushed the master-source-network-detection branch from 0bdd0b2 to 4a06127 Compare July 17, 2015 13:02
@jkonecny12
Copy link
Member Author

Add check for harddrive too.
Thank you @bcl .

@clumens
Copy link
Contributor

clumens commented Jul 17, 2015

Note that on this PR, the jenkins results are correct (even if it tested too much - don't know what's up with that). There are some pylint problems.

Payload manager is started from network spoke if network settings change.
This will start source spoke and software spoke reach-ability testing.

Resolves: rhbz#1221109
@jkonecny12 jkonecny12 force-pushed the master-source-network-detection branch from 4a06127 to d239863 Compare July 17, 2015 13:31
@jkonecny12
Copy link
Member Author

Yeah I already fixed it. Thank you for this PR testing @clumens .

@vojtechtrefny
Copy link
Contributor

Looks good.

@jkonecny12
Copy link
Member Author

Pushed. Thank you

@jkonecny12 jkonecny12 closed this Jul 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
master Please, use the `f39` label instead.
4 participants