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

Deploy refinement #559

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions documentation/dependencies/arch.dependencies
Expand Up @@ -22,3 +22,4 @@ bc
perl-authen-sasl
perl-io-socket-ssl
sqlite3
pv
1 change: 1 addition & 0 deletions documentation/dependencies/debian.dependencies
Expand Up @@ -23,3 +23,4 @@ zstd
bc
git-email
sqlite3
pv
17 changes: 17 additions & 0 deletions etc/kworkflow_template.config
Expand Up @@ -15,6 +15,23 @@ ssh_ip=localhost
# Default ssh port
ssh_port=22

# Deploying a kernel to a remote requires part of the kw code in the target
# machine. The following variable enables users to specify which folder they
# prefer to use.

# This variable specifies where kw will store its code in the remote machine.
kw_files_remote_path=/opt/kw

# This variable specifies where kw will save temporary files used during the
# deploy.
deploy_temporary_files_path=/tmp/kw

# Options:
# lzop: Best tradeoff between compression time and size
# gzip: Good compression, but a little bit slow
# xz: Very good compression, but very slow
deploy_default_compression=lzop

# Optional ssh configuration file to be used
#ssh_configfile=~/.ssh/config
# Hostname of the target in ssh_configfile
Expand Down
4 changes: 3 additions & 1 deletion src/bash_autocomplete.sh
Expand Up @@ -29,8 +29,10 @@ function _kw_autocomplete()
kw_options['debug']='--local --remote --event --ftrace --dmesg --cmd
--history --disable --list --follow --reset --help'

kw_options['bd']='--verbose'

kw_options['deploy']='--force --list --list-all --local --ls-line --modules
--reboot --remote --uninstall --vm --setup'
--reboot --remote --uninstall --vm --setup --verbose'
kw_options['d']="${kw_options['deploy']}"

kw_options['device']='--local --remote --vm'
Expand Down