def install(self): # call our super RedHat_Bundle_base.install(self) self.enable_shadow() self.tracepath()
def install(self): # make some base directories that are required before anything # works os.mkdir(os.path.join(self.vpsroot, 'var')) os.mkdir(os.path.join(self.vpsroot, 'var', 'lib')) os.mkdir(os.path.join(self.vpsroot, 'var', 'lib', 'rpm')) os.mkdir(os.path.join(self.vpsroot, 'usr')) os.mkdir(os.path.join(self.vpsroot, 'usr', 'src')) os.mkdir(os.path.join(self.vpsroot, 'usr', 'src', 'redhat')) os.mkdir(os.path.join(self.vpsroot, 'proc')) # call our super RedHat_Bundle_base.install(self) self.import_rpm_key() self.enable_shadow()