summaryrefslogtreecommitdiffstats
path: root/shell-completion (follow)
Commit message (Collapse)AuthorAgeFilesLines
* systemd-resolve: initial shell completionZbigniew Jędrzejewski-Szmek2016-02-183-1/+132
| | | | | | | | v2: - use /sys/class/net to list interfaces, also copy the same code to systemd-nspawn v3: - do not propose "any" twice for --type
* cgroup: remove support for NetClass= directiveDaniel Mack2016-02-101-1/+1
| | | | | | | | | | | | | | | | | | | 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.
* Journalctl command completion should show machinesDan Walsh2016-02-081-2/+11
|
* shell-completion: fix headerZbigniew Jędrzejewski-Szmek2016-02-061-1/+1
|
* systemctl: rename "reload-or-try-restart" verb to "try-reload-or-restart"Lennart Poettering2016-01-282-4/+4
| | | | | | | | 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.
* zsh-completion: Escape results for `journalctl --unit`Douglas Christman2016-01-261-1/+4
| | | | | | | | 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-...
* importd: drop dkr supportLennart Poettering2015-12-102-4/+2
| | | | | | | | 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.
* bash-completion: list valid signal namesEvgeny Vereshchagin2015-11-243-3/+6
| | | | this is a follow-up for commit 18540892d18addc4dcb81
* bash-completion: list only valid signal namesZbigniew Jędrzejewski-Szmek2015-11-241-1/+2
| | | | Fixup for #1999.
* bash-completion: nspawn: add completion for --kill-signalEvgeny Vereshchagin2015-11-231-1/+4
|
* shell-completion: journalctl: add --syncMarcos Mello2015-11-151-1/+1
| | | From 94b6551
* execute: Add new PassEnvironment= directiveFilipe Brandenburger2015-11-112-2/+2
| | | | | | | | | | | | | | | | | | | | 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`.
* shell-completion: journalctl: add -S and -U optionsMarcos Mello2015-11-111-1/+1
| | | Added by 66f5292
* Remove snapshot unit typeZbigniew Jędrzejewski-Szmek2015-11-113-19/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #1775 from fbuihuu/set-property-completionLennart Poettering2015-11-041-1/+1
|\ | | | | bash-completion: add minimal support fpr 'set-property' command
| * bash-completion: add minimal support fpr 'set-property' commandFranck Bui2015-11-041-1/+1
| | | | | | | | | | | | | | | | | | '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.
* | Merge pull request #1690 from evverx/run-runtime-directoryLennart Poettering2015-11-022-2/+2
|\ \ | |/ |/| systemd-run can launch units with RuntimeDirectory
| * shell-completion: systemd-run: add the property RuntimeDirectoryEvgeny Vereshchagin2015-10-272-2/+2
| |
* | shell-completion: systemctl: show completions for `user` in `global` modeEvgeny Vereshchagin2015-10-301-0/+2
| |
* | shell-completion: hostnamectl: add the command set-locationEvgeny Vereshchagin2015-10-291-1/+1
|/
* shell-completion: systemd-run: add the property ProtectHomeEvgeny Vereshchagin2015-10-262-2/+2
|
* zsh-completion: journalctl --identifierZbigniew Jędrzejewski-Szmek2015-10-251-0/+1
| | | | Fixes #1549.
* shell-completion: systemd-run: add the property ProtectSystemEvgeny Vereshchagin2015-10-252-1/+3
|
* shell-completion: systemd-run: add new property EnvironmentFileNicolas Cornu2015-10-212-2/+2
|
* Add zsh completion on systemd-run's propertiesNicolas Cornu2015-10-211-1/+14
|
* shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin2015-10-211-1/+2
| | | | "ReadWriteDirectories", "ReadOnlyDirectories", "InaccessibleDirectories"
* shell-completion: systemd-run: add property OOMScoreAdjustEvgeny Vereshchagin2015-10-171-1/+1
|
* shell-completion: systemd-run: add TimerSlackNSec propertyEvgeny Vereshchagin2015-10-151-1/+1
|
* shell-completion: systemd-run: add SyslogFacility propertyEvgeny Vereshchagin2015-10-141-1/+2
|
* shell-completion: systemd-run: add SyslogLevel propertyEvgeny Vereshchagin2015-10-141-1/+1
|
* zsh: don't mention /etc/mtabLennart Poettering2015-10-091-1/+1
| | | | | | The file is obsolete, use /proc/self/mounts instead. Also, yuck, the code is so awful...
* shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin2015-10-091-1/+1
|
* shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin2015-10-091-1/+3
| | | | | | See: * 602b83559a7cfcd3eee05 * b9c50073fcc1460ca1ff3
* shell-completion: add pseudo machine ".host" to shell completionLennart Poettering2015-10-081-1/+1
|
* shell-completion: add "machinectl shell" to bash completion logicLennart Poettering2015-10-081-1/+1
|
* Merge pull request #1419 from keszybz/shell-completionLennart Poettering2015-09-304-9/+7
|\ | | | | Shell completion tweaks
| * bash-completion: remove one more sort and sub-shellZbigniew Jędrzejewski-Szmek2015-09-281-2/+2
| | | | | | | | | | {} is preferred to (), because the first is just grouping, while the second invokes a separate shell.
| * bash-completion: use builtins when generating listZbigniew Jędrzejewski-Szmek2015-09-281-1/+1
| |
| * bash-completion: use builtins when generating listZbigniew Jędrzejewski-Szmek2015-09-281-1/+1
| | | | | | | | | | | | | | 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.
| * shell-completion: use systemctl --state=helpZbigniew Jędrzejewski-Szmek2015-09-282-5/+3
| | | | | | | | | | | | | | 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.
* | shell-completion: journalctl: add --rotateEvgeny Vereshchagin2015-09-301-1/+1
|/
* shell-completion: nspawn: add missing values for --link-journalEvgeny Vereshchagin2015-09-261-1/+1
|
* shell-completion: journalctl: add missing optionsEvgeny Vereshchagin2015-09-251-3/+4
|
* shell-completion: journalctl: add missing fieldsEvgeny Vereshchagin2015-09-251-2/+2
|
* shell-completion: cgtop bash completion: add -r,--raw,-k,-P,--orderEvgeny Vereshchagin2015-09-211-2/+6
|
* shell-completion: cgtop bash completion: -n,--iterations,-d,--delay require argEvgeny Vereshchagin2015-09-211-2/+2
|
* shell-completion: update systemd-cgtop bash completion: --recursiveEvgeny Vereshchagin2015-09-211-1/+3
|
* cgtop: add -M/--machineEvgeny Vereshchagin2015-09-211-1/+16
|
* shell-completion: update systemd-analyze bash-completionEvgeny Vereshchagin2015-09-071-3/+3
| | | | | * Change --no-man to --man (see dad29df) * --{from,to}-pattern require arg
* shell-completion: update systemctl bash completionEvgeny Vereshchagin2015-09-041-2/+20
| | | | | Many new options have been added since the bash completion was last updated.