(self, cmd, char="*")
Print a container startup banner
Print a container startup banner
Print a container startup banner
def _run_banner(self, cmd, char="*"):
        """Print a container startup banner"""
        if not self.opt["nobanner"]:
            Msg().out("",
                      "\n", char * 78,
                      "\n", char, " " * 74, char,
                      "\n", char,
                      ("STARTING " + self.container_id).center(74, " "), char,
                      "\n", char, " " * 74, char,
                      "\n", char * 78, "\n",
                      "executing:", os.path.basename(cmd), l=Msg.INF)
def _run_banner ( self , cmd , char = "*" ) : if not self . opt [ "nobanner" ] : Msg ( ) . out ( "" , "\n" , char * 78 , "\n" , char , " " * 74 , char , "\n" , char , ( "STARTING " + self . container_id ) . center ( 74 , " " ) , char , "\n" , char , " " * 74 , char , "\n" , char * 78 , "\n" , "executing:" , os . path . basename ( cmd ) , l = Msg . INF )