Skip to content
This repository has been archived by the owner on Jun 15, 2019. It is now read-only.

pyarchops/os-updates

Repository files navigation

pyArchOps/OS updates

image

image

Documentation Status

image

Install All OS updates

Features

  • Applies the latest packages on the OS.

Usage

import os
import pyarchops_os_updates

api = Api(
    '127.0.0.1:22',
    connection='smart',
    remote_user='root',
    private_key_file=os.getenv('HOME') + '/.ssh/id_rsa',
    become=True,
    become_user='root',
    sudo=True,
    ssh_extra_args='-o StrictHostKeyChecking=no'
)
result = pyarchops_os_updates.apply(api)
print(result)

Development

Install requirements:

$ sudo pacman -S tmux python-virtualenv python-pip libjpeg-turbo gcc make vim git tk tcl

Git clone this repository

$ git clone https://github.com/pyarchops/os-updates.git pyarchops.os-updates
$ cd pyarchops.os-updates
  1. See the Makefile, to get started simply execute:
$ make up

Credits

  • TODO