Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-get autoremove (old kernels) #102

Open
Commifreak opened this issue Sep 3, 2015 · 12 comments
Open

apt-get autoremove (old kernels) #102

Commifreak opened this issue Sep 3, 2015 · 12 comments

Comments

@Commifreak
Copy link

Title says it all :)

I would like a feature ti run an autoremove through all hosts. Sometimes the default boot-partition is out of space.. ;)

Regards,

@DejavuDmitry
Copy link

Yes. Please add this feature or feature that add some function to set custom hot-keys to run my own command on machines.

@kiranos
Copy link

kiranos commented Sep 5, 2015

I'd like this feature aswell, would be really nice to have it as an option.

@janvonde
Copy link

+1

@AikedeJongste
Copy link

Yes please!

@phaidros7
Copy link

👍

2 similar comments
@moonmeister
Copy link

+1

@chrislp
Copy link

chrislp commented Jun 17, 2016

+1

@MikeLund
Copy link

In app-dater.conf:

[Commands]
CmdRefresh=apt-dater-host refresh
CmdUpgrade=apt-get autoremove && apt-get autoclean && apt-dater-host upgrade
CmdInstall=apt-dater-host install %s

Maybe not super-smart, but has worked fine for me for at least 6 months now.

@noudAndi
Copy link

Does anybody know, where to put this config in the new .xml style files?

@DejavuDmitry
Copy link

@noudAndi maybe

$ sed -n 109,112p /usr/lib/x86_64-linux-gnu/apt-dater/cmd
handle_generic_ssh () {
    AD_CMD_REFRESH="apt-dater-host refresh"
    AD_CMD_UPGRADE="apt-dater-host upgrade"
    AD_CMD_INSTALL="apt-dater-host install %s"

?

@ktosiek
Copy link
Contributor

ktosiek commented Oct 16, 2018

Is there a way of doing this without hacking apt-dater? Maybe with hooks?

@mathiashro
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests