summaryrefslogtreecommitdiff
path: root/shell-completion
AgeCommit message (Collapse)Author
2016-07-08nspawn-completion: implementation of shell completion of --notify-ready (#3679)Alessandro Puccetti
Relative to: https://github.com/systemd/systemd/pull/3474
2016-06-06machinectl: Added stop as alias for poweroff (#3406)Christian Rebischke
2016-05-30bash: use the actual journal fields used in the journal files for completionLennart Poettering
2016-05-08tree-wide: remove uses of --failedZbigniew Jędrzejewski-Szmek
It has been replaced by --state=failed.
2016-04-19zsh-completion: remove non-portable uses of \s in awk (#3063)Felipe Sateler
2016-04-18Add zsh completion for networkctl (#3062)Felipe Sateler
2016-03-20bash completion: add --template to nspawnEvgeny Vereshchagin
2016-02-18systemd-resolve: initial shell completionZbigniew Jędrzejewski-Szmek
v2: - use /sys/class/net to list interfaces, also copy the same code to systemd-nspawn v3: - do not propose "any" twice for --type
2016-02-10cgroup: remove support for NetClass= directiveDaniel Mack
Support for net_cls.class_id through the NetClass= configuration directive has been added in v227 in preparation for a per-unit packet filter mechanism. However, it turns out the kernel people have decided to deprecate the net_cls and net_prio controllers in v2. Tejun provides a comprehensive justification for this in his commit, which has landed during the merge window for kernel v4.5: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bd1060a1d671 As we're aiming for full support for the v2 cgroup hierarchy, we can no longer support this feature. Userspace tool such as nftables are moving over to setting rules that are specific to the full cgroup path of a task, which obsoletes these controllers anyway. This commit removes support for tweaking details in the net_cls controller, but keeps the NetClass= directive around for legacy compatibility reasons.
2016-02-08Journalctl command completion should show machinesDan Walsh
2016-02-06shell-completion: fix headerZbigniew Jędrzejewski-Szmek
2016-01-28systemctl: rename "reload-or-try-restart" verb to "try-reload-or-restart"Lennart Poettering
But also keep the old name as (undocumented) compatibility around. The reload-or-try-restart was documented to be a NOP if the unit is not running, since the previous commits this is also implemented. The old name suggests that the "try" logic only applies to restarting. Fix this, by moving the "try-" to the front, to indicate that the whole option is a NOP if the service isn't running.
2016-01-25zsh-completion: Escape results for `journalctl --unit`Douglas Christman
Escape colons and backslashes in unit names. This gives correct completions for units with names like systemd-backlight@backlight:acpi_video0.service and systemd-fsck@dev-disk-by\x2duuid-...
2015-12-10importd: drop dkr supportLennart Poettering
The current code is not compatible with current dkr protocols anyway, and dkr has a different focus ("microservices") than nspawn anyway ("whole machine containers"), hence drop support for it, we cannot reasonably keep this up to date, and it creates the impression we'd actually care for the microservices usecase.
2015-11-24bash-completion: list valid signal namesEvgeny Vereshchagin
this is a follow-up for commit 18540892d18addc4dcb81
2015-11-24bash-completion: list only valid signal namesZbigniew Jędrzejewski-Szmek
Fixup for #1999.
2015-11-23bash-completion: nspawn: add completion for --kill-signalEvgeny Vereshchagin
2015-11-15shell-completion: journalctl: add --syncMarcos Mello
From 94b6551
2015-11-11execute: Add new PassEnvironment= directiveFilipe Brandenburger
This directive allows passing environment variables from the system manager to spawned services. Variables in the system manager can be set inside a container by passing `--set-env=...` options to systemd-spawn. Tested with an on-disk test.service unit. Tested using multiple variable names on a single line, with an empty setting to clear the current list of variables, with non-existing variables. Tested using `systemd-run -p PassEnvironment=VARNAME` to confirm it works with transient units. Confirmed that `systemctl show` will display the PassEnvironment settings. Checked that man pages are generated correctly. No regressions in `make check`.
2015-11-11shell-completion: journalctl: add -S and -U optionsMarcos Mello
Added by 66f5292
2015-11-10Remove snapshot unit typeZbigniew Jędrzejewski-Szmek
Snapshots were never useful or used for anything. Many systemd developers that I spoke to at systemd.conf2015, didn't even know they existed, so it is fairly safe to assume that this type can be deleted without harm. The fundamental problem with snapshots is that the state of the system is dynamic, devices come and go, users log in and out, timers fire... and restoring all units to some state from the past would "undo" those changes, which isn't really possible. Tested by creating a snapshot, running the new binary, and checking that the transition did not cause errors, and the snapshot is gone, and snapshots cannot be created anymore. New systemctl says: Unknown operation snapshot. Old systemctl says: Failed to create snapshot: Support for snapshots has been removed. IgnoreOnSnaphost settings are warned about and ignored: Support for option IgnoreOnSnapshot= has been removed and it is ignored http://lists.freedesktop.org/archives/systemd-devel/2015-November/034872.html
2015-11-04Merge pull request #1775 from fbuihuu/set-property-completionLennart Poettering
bash-completion: add minimal support fpr 'set-property' command
2015-11-04bash-completion: add minimal support fpr 'set-property' commandFranck Bui
'set-property' was missing from the list of known command. Also a list of unit names will be proposed as next argument. However no support on property names is provided since it would require a hard coded list of them.
2015-11-02Merge pull request #1690 from evverx/run-runtime-directoryLennart Poettering
systemd-run can launch units with RuntimeDirectory
2015-10-30shell-completion: systemctl: show completions for `user` in `global` modeEvgeny Vereshchagin
2015-10-29shell-completion: hostnamectl: add the command set-locationEvgeny Vereshchagin
2015-10-27shell-completion: systemd-run: add the property RuntimeDirectoryEvgeny Vereshchagin
2015-10-26shell-completion: systemd-run: add the property ProtectHomeEvgeny Vereshchagin
2015-10-25zsh-completion: journalctl --identifierZbigniew Jędrzejewski-Szmek
Fixes #1549.
2015-10-24shell-completion: systemd-run: add the property ProtectSystemEvgeny Vereshchagin
2015-10-21shell-completion: systemd-run: add new property EnvironmentFileNicolas Cornu
2015-10-21Add zsh completion on systemd-run's propertiesNicolas Cornu
2015-10-20shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin
"ReadWriteDirectories", "ReadOnlyDirectories", "InaccessibleDirectories"
2015-10-17shell-completion: systemd-run: add property OOMScoreAdjustEvgeny Vereshchagin
2015-10-15shell-completion: systemd-run: add TimerSlackNSec propertyEvgeny Vereshchagin
2015-10-14shell-completion: systemd-run: add SyslogFacility propertyEvgeny Vereshchagin
2015-10-14shell-completion: systemd-run: add SyslogLevel propertyEvgeny Vereshchagin
2015-10-09zsh: don't mention /etc/mtabLennart Poettering
The file is obsolete, use /proc/self/mounts instead. Also, yuck, the code is so awful...
2015-10-09shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin
2015-10-09shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin
See: * 602b83559a7cfcd3eee05 * b9c50073fcc1460ca1ff3
2015-10-08shell-completion: add pseudo machine ".host" to shell completionLennart Poettering
2015-10-08shell-completion: add "machinectl shell" to bash completion logicLennart Poettering
2015-09-30Merge pull request #1419 from keszybz/shell-completionLennart Poettering
Shell completion tweaks
2015-09-30shell-completion: journalctl: add --rotateEvgeny Vereshchagin
2015-09-28bash-completion: remove one more sort and sub-shellZbigniew Jędrzejewski-Szmek
{} is preferred to (), because the first is just grouping, while the second invokes a separate shell.
2015-09-28bash-completion: use builtins when generating listZbigniew Jędrzejewski-Szmek
2015-09-28bash-completion: use builtins when generating listZbigniew Jędrzejewski-Szmek
awk is an external program, and it is better to stick to shell built-ins. Also, even with external awk, sort -u is redundant, because the shell does this on its own.
2015-09-28shell-completion: use systemctl --state=helpZbigniew Jędrzejewski-Szmek
This way completion lists should stay up to date. Also use systemctl -t help to list types in zsh, as was already done in bash.
2015-09-26shell-completion: nspawn: add missing values for --link-journalEvgeny Vereshchagin
2015-09-25shell-completion: journalctl: add missing optionsEvgeny Vereshchagin