Skip to content

Remove all 'config at a distance' functions #10

@mricos

Description

@mricos
mricos@ux305-3:~/tetra$ type dotool-upgrade 
dotool-upgrade is a function
dotool-upgrade () 
{ 
    if [ $# -lt 1 ]; then
        echo "Command requires the name of the droplet";
        echo "dotool-upgrade name";
        return 1;
    fi;
    ssh root@"$(dotool-name-to-ip "$1")" "
      apt -y update
      apt -y upgrade
"
}

Should just be:

dotool-upgrade () 
{ 
      apt -y update
      apt -y upgrade
}

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions