When i wrote those code, i'm not quite understand programming in python. :(
So i will do some code refine now; comment welcomed! 😄
Working list:
Class FreeBSDUtils
Also, the naming of those functions (set_ and get_) are really non-pythonic style.
Maybe we should use property.
When i wrote those code, i'm not quite understand programming in python. :(
So i will do some code refine now; comment welcomed! 😄
Working list:
Class
FreeBSDUtilsrebootuser_existscreate_user[osutils/freebsd.py] paraminvite_groupshould be optional in create_user #21set_host_nameset_user_passwordadd_user_to_local_groupget_user_homeget_network_adaptersset_static_network_configset_dhcp_network_configset_timezoneadj_sys_time_add_comment_add_rc_confchownAlso, the naming of those functions (
set_andget_) are really non-pythonic style.Maybe we should use
property.