-
Anything involving PXE/iPXE requires the TFTP service. Always.
-
Most PXE/iPXE cannot utilize HTTPS protocol.
-
PXE requires
pxelinux.0
, provided by the TFTP service. Check permissions, ownership, and contexts of related files:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/hammer-cli-katello | |
bundle install | |
bundle exec bash | |
cd ~ | |
wget https://partha.fedorapeople.org/devel/hammer.tgz | |
tar zxf hammer.tgz | |
ll .hammer # verify there's stuff in that dir | |
cd hammer-cli-katello | |
hammer ping |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def func(self, var): | |
i = 0 | |
numbers = [] | |
while i < self.var: | |
print(f"At the top i is {i}") | |
numbers.append(i) | |
i = i + 1 | |
print("Numbers now: ", numbers) | |
print(f"At the bottom i is {i}") | |
print("-" *20) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Song(object): | |
def __init__(self, lyrics): | |
self.lyrics = lyrics | |
def sing_me_a_song(self): | |
for line in self.lyrics: | |
print(line) | |
happy_bday = Song(["Happy birthday to you", | |
"I don't want to get sued", | |
"So I'll stop right there"]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Song(object): | |
def __init__(self, lyrics): | |
self.lyrics = lyrics | |
def sing_me_a_song(self): | |
for line in self.lyrics: | |
print(line) | |
happy_bday = Song(["Happy birthday to you", | |
"I don't want to get sued", | |
"So I'll stop right there"]) |