예제 #1
0
파일: pcdevice.py 프로젝트: skuusela/AFT
    def push(self, source, destination, user="******"):
        """
        Deploys a file from the local filesystem to the device (remote).

        Args:
            source (str): The source file
            destination (str): The destination file
            user (str): The user who executes the command
        """
        ssh.push(self.get_ip(), source=source,
                 destination=destination, user=user)
예제 #2
0
파일: pcdevice.py 프로젝트: dl9pf/DAFT
    def push(self, source, destination, user="******"):
        """
        Deploys a file from the local filesystem to the device (remote).

        Args:
            source (str): The source file
            destination (str): The destination file
            user (str): The user who executes the command
        """
        ssh.push(self.get_ip(),
                 source=source,
                 destination=destination,
                 user=user)