machinery-tool 1.17.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git_revision +1 -1
- data/NEWS +17 -1
- data/bin/machinery +1 -1
- data/export_helpers/merge_users_and_groups.pl.erb +1 -1
- data/html/comparison.html.haml +14 -9
- data/html/index.html.haml +5 -2
- data/html/landing_page.html.haml +4 -1
- data/html/partials/changed_managed_files.html.haml +2 -0
- data/html/partials/compare/alert.html.haml +1 -1
- data/html/partials/compare/unmanaged_file_list.html.haml +12 -0
- data/html/partials/config_files.html.haml +2 -0
- data/html/partials/landing_page/alert.html.haml +1 -1
- data/html/partials/unmanaged_files.html.haml +14 -0
- data/inspect_helpers/changed_files.sh +1 -1
- data/inspect_helpers/dpkg_unmanaged_files.sh +1 -1
- data/inspect_helpers/yum_repositories.py +1 -1
- data/lib/analyze_config_file_diffs_task.rb +1 -1
- data/lib/array.rb +1 -1
- data/lib/autoyast.rb +34 -34
- data/lib/build_task.rb +1 -1
- data/lib/cli.rb +21 -6
- data/lib/compare_task.rb +1 -1
- data/lib/comparison.rb +1 -1
- data/lib/config.rb +1 -1
- data/lib/config_base.rb +1 -1
- data/lib/config_task.rb +1 -1
- data/lib/constants.rb +2 -2
- data/lib/containerize_task.rb +1 -1
- data/lib/containerized_app.rb +1 -1
- data/lib/copy_task.rb +1 -1
- data/lib/current_user.rb +1 -1
- data/lib/deploy_task.rb +1 -1
- data/lib/docker_system.rb +4 -5
- data/lib/dpkg_database.rb +2 -2
- data/lib/element_filter.rb +1 -1
- data/lib/exceptions.rb +2 -2
- data/lib/export_task.rb +1 -1
- data/lib/exporter.rb +1 -1
- data/lib/file_diff.rb +1 -1
- data/lib/file_scope.rb +1 -1
- data/lib/file_validator.rb +1 -1
- data/lib/filter.rb +1 -1
- data/lib/filter_option_parser.rb +1 -1
- data/lib/helper.rb +1 -1
- data/lib/hint.rb +1 -1
- data/lib/html.rb +1 -1
- data/lib/inspect_task.rb +1 -1
- data/lib/inspector.rb +1 -1
- data/lib/json_schema_monkey_patch.rb +35 -0
- data/lib/json_validation_error_cleaner.rb +1 -1
- data/lib/json_validator.rb +1 -1
- data/lib/kiwi_config.rb +69 -67
- data/lib/list_task.rb +1 -1
- data/lib/local_system.rb +1 -1
- data/lib/logged_cheetah.rb +1 -1
- data/lib/machinery.rb +6 -2
- data/lib/machinery_helper.rb +28 -8
- data/lib/machinery_logger.rb +1 -1
- data/lib/man_task.rb +50 -5
- data/lib/managed_files_database.rb +24 -17
- data/lib/manifest.rb +3 -2
- data/lib/migration.rb +1 -1
- data/lib/mountpoints.rb +1 -1
- data/lib/move_task.rb +1 -1
- data/lib/object.rb +1 -1
- data/lib/remote_system.rb +2 -2
- data/lib/remove_task.rb +1 -1
- data/lib/renderer.rb +1 -1
- data/lib/renderer_helper.rb +1 -1
- data/lib/rpm.rb +1 -1
- data/lib/rpm_database.rb +1 -1
- data/lib/scope.rb +1 -1
- data/lib/scope_file_store.rb +1 -1
- data/lib/serve_html_task.rb +1 -1
- data/lib/server.rb +32 -2
- data/lib/show_task.rb +1 -1
- data/lib/system.rb +1 -1
- data/lib/system_description.rb +2 -2
- data/lib/system_description_memory_store.rb +1 -1
- data/lib/system_description_store.rb +1 -1
- data/lib/system_file.rb +1 -1
- data/lib/tarball.rb +1 -1
- data/lib/tee_io.rb +39 -0
- data/lib/try.rb +1 -1
- data/lib/ui.rb +1 -1
- data/lib/upgrade_format_task.rb +1 -1
- data/lib/validate_task.rb +1 -1
- data/lib/version.rb +2 -2
- data/lib/workload_mapper.rb +1 -1
- data/lib/workload_mapper_dsl.rb +1 -1
- data/lib/zypper.rb +3 -3
- data/machinery-helper/Rakefile +2 -8
- data/machinery-helper/file_utils.go +28 -0
- data/machinery-helper/file_utils_test.go +21 -0
- data/machinery-helper/machinery_helper.go +121 -8
- data/machinery-helper/machinery_helper_test.go +102 -0
- data/machinery-helper/mountpoints_test.go +33 -33
- data/machinery-helper/version.go +1 -1
- data/man/generated/machinery.1.gz +0 -0
- data/manual/custom_theme/base.html +42 -0
- data/manual/docs/CNAME +1 -0
- data/manual/docs/README.md +128 -0
- data/manual/docs/css/bootstrap.min.css +7 -0
- data/manual/docs/css/custom.css +788 -0
- data/manual/docs/css/fixed-positioning.css +45 -0
- data/manual/docs/custom.css +804 -0
- data/manual/docs/docs.md +7 -0
- data/manual/docs/favicon.png +0 -0
- data/manual/docs/hand3.png +0 -0
- data/manual/docs/img/arrow.png +0 -0
- data/manual/docs/img/background/1.png +0 -0
- data/manual/docs/img/background/2.png +0 -0
- data/manual/docs/img/background/3.png +0 -0
- data/manual/docs/img/background/4.png +0 -0
- data/manual/docs/img/background/5.png +0 -0
- data/manual/docs/img/background/6.png +0 -0
- data/manual/docs/img/background/7.png +0 -0
- data/manual/docs/img/bk-cloud.png +0 -0
- data/manual/docs/img/bk-sec-15.png +0 -0
- data/manual/docs/img/book.png +0 -0
- data/manual/docs/img/configuration-discovery.png +0 -0
- data/manual/docs/img/dot-line-left.png +0 -0
- data/manual/docs/img/dot-line-right.png +0 -0
- data/manual/docs/img/gear.png +0 -0
- data/manual/docs/img/gear2.png +0 -0
- data/manual/docs/img/gear3.png +0 -0
- data/manual/docs/img/hand.png +0 -0
- data/manual/docs/img/hand2.png +0 -0
- data/manual/docs/img/hand3.png +0 -0
- data/manual/docs/img/home2.png +0 -0
- data/manual/docs/img/moustache.png +0 -0
- data/manual/docs/img/navig.png +0 -0
- data/manual/docs/img/philo.png +0 -0
- data/manual/docs/img/service-migration.png +0 -0
- data/manual/docs/img/system-validation.png +0 -0
- data/manual/docs/img/ticket2.png +0 -0
- data/manual/docs/img/usecase-default.png +0 -0
- data/manual/docs/img/usecase1.png +0 -0
- data/manual/docs/img/usecase2.png +0 -0
- data/manual/docs/img/usecase3.png +0 -0
- data/manual/docs/img/usecase4.png +0 -0
- data/manual/docs/img/wheels.png +0 -0
- data/manual/docs/index.html +402 -0
- data/manual/docs/js/bootstrap.min.js +6 -0
- data/manual/docs/js/custom.js +148 -0
- data/manual/docs/js/jquery.js +4 -0
- data/manual/docs/js/jquery.nicescroll.min.js +116 -0
- data/manual/docs/js/jquery.pageslide.min.js +11 -0
- data/manual/docs/js/parallaxImg.js +146 -0
- data/manual/docs/js/skrollr.min.js +2 -0
- data/manual/docs/machinery-analyze.1.md +37 -0
- data/manual/docs/machinery-build.1.md +62 -0
- data/manual/docs/machinery-compare.1.md +63 -0
- data/manual/docs/machinery-config.1.md +45 -0
- data/manual/docs/machinery-copy.1.md +31 -0
- data/manual/docs/machinery-deploy.1.md +71 -0
- data/manual/docs/machinery-export-autoyast.1.md +58 -0
- data/manual/docs/machinery-export-kiwi.1.md +38 -0
- data/manual/docs/machinery-inspect-docker.1.md +108 -0
- data/manual/docs/machinery-inspect.1.md +145 -0
- data/manual/docs/machinery-list.1.md +51 -0
- data/manual/docs/machinery-man.1.md +16 -0
- data/manual/docs/machinery-move.1.md +29 -0
- data/manual/docs/machinery-remove.1.md +44 -0
- data/manual/docs/machinery-serve.1.md +45 -0
- data/manual/docs/machinery-show.1.md +63 -0
- data/manual/docs/machinery-upgrade-format.1.md +47 -0
- data/manual/docs/machinery-validate.1.md +34 -0
- data/manual/docs/machinery.ymp +114 -0
- data/manual/docs/machinery_main_general.1.md +139 -0
- data/manual/docs/machinery_main_scopes.1.md +98 -0
- data/manual/docs/machinery_main_usecases.1.md +49 -0
- data/manual/docs/machinery_security_implications.1.md +89 -0
- data/manual/docs/subcommand-template.1.md +46 -0
- data/manual/docs/wheels.png +0 -0
- data/manual/mkdocs.yml +30 -0
- data/manual/site/CNAME +1 -0
- data/manual/site/base.html +42 -0
- data/manual/site/css/bootstrap.min.css +7 -0
- data/manual/site/css/custom.css +788 -0
- data/manual/site/css/fixed-positioning.css +45 -0
- data/manual/site/custom.css +804 -0
- data/manual/site/docs/index.html +144 -0
- data/manual/site/favicon.png +0 -0
- data/manual/site/hand3.png +0 -0
- data/manual/site/img/arrow.png +0 -0
- data/manual/site/img/background/1.png +0 -0
- data/manual/site/img/background/2.png +0 -0
- data/manual/site/img/background/3.png +0 -0
- data/manual/site/img/background/4.png +0 -0
- data/manual/site/img/background/5.png +0 -0
- data/manual/site/img/background/6.png +0 -0
- data/manual/site/img/background/7.png +0 -0
- data/manual/site/img/bk-cloud.png +0 -0
- data/manual/site/img/bk-sec-15.png +0 -0
- data/manual/site/img/book.png +0 -0
- data/manual/site/img/configuration-discovery.png +0 -0
- data/manual/site/img/dot-line-left.png +0 -0
- data/manual/site/img/dot-line-right.png +0 -0
- data/manual/site/img/gear.png +0 -0
- data/manual/site/img/gear2.png +0 -0
- data/manual/site/img/gear3.png +0 -0
- data/manual/site/img/hand.png +0 -0
- data/manual/site/img/hand2.png +0 -0
- data/manual/site/img/hand3.png +0 -0
- data/manual/site/img/home2.png +0 -0
- data/manual/site/img/moustache.png +0 -0
- data/manual/site/img/navig.png +0 -0
- data/manual/site/img/philo.png +0 -0
- data/manual/site/img/service-migration.png +0 -0
- data/manual/site/img/system-validation.png +0 -0
- data/manual/site/img/ticket2.png +0 -0
- data/manual/site/img/usecase-default.png +0 -0
- data/manual/site/img/usecase1.png +0 -0
- data/manual/site/img/usecase2.png +0 -0
- data/manual/site/img/usecase3.png +0 -0
- data/manual/site/img/usecase4.png +0 -0
- data/manual/site/img/wheels.png +0 -0
- data/manual/site/index.html +402 -0
- data/manual/site/js/bootstrap.min.js +6 -0
- data/manual/site/js/custom.js +148 -0
- data/manual/site/js/jquery.js +4 -0
- data/manual/site/js/jquery.nicescroll.min.js +116 -0
- data/manual/site/js/jquery.pageslide.min.js +11 -0
- data/manual/site/js/parallaxImg.js +146 -0
- data/manual/site/js/skrollr.min.js +2 -0
- data/manual/site/machinery-analyze.1/index.html +167 -0
- data/manual/site/machinery-build.1/index.html +198 -0
- data/manual/site/machinery-compare.1/index.html +200 -0
- data/manual/site/machinery-config.1/index.html +175 -0
- data/manual/site/machinery-copy.1/index.html +164 -0
- data/manual/site/machinery-deploy.1/index.html +200 -0
- data/manual/site/machinery-export-autoyast.1/index.html +188 -0
- data/manual/site/machinery-export-kiwi.1/index.html +169 -0
- data/manual/site/machinery-inspect-docker.1/index.html +242 -0
- data/manual/site/machinery-inspect.1/index.html +283 -0
- data/manual/site/machinery-list.1/index.html +180 -0
- data/manual/site/machinery-man.1/index.html +148 -0
- data/manual/site/machinery-move.1/index.html +162 -0
- data/manual/site/machinery-remove.1/index.html +175 -0
- data/manual/site/machinery-serve.1/index.html +174 -0
- data/manual/site/machinery-show.1/index.html +199 -0
- data/manual/site/machinery-upgrade-format.1/index.html +173 -0
- data/manual/site/machinery-validate.1/index.html +161 -0
- data/manual/site/machinery.ymp +114 -0
- data/manual/site/machinery_main_general.1/index.html +260 -0
- data/manual/site/machinery_main_scopes.1/index.html +242 -0
- data/manual/site/machinery_main_usecases.1/index.html +182 -0
- data/manual/site/machinery_security_implications.1/index.html +223 -0
- data/manual/site/mkdocs/js/lunr-0.5.7.min.js +7 -0
- data/manual/site/mkdocs/js/mustache.min.js +1 -0
- data/manual/site/mkdocs/js/require.js +36 -0
- data/manual/site/mkdocs/js/search-results-template.mustache +4 -0
- data/manual/site/mkdocs/js/search.js +88 -0
- data/manual/site/mkdocs/js/text.js +390 -0
- data/manual/site/mkdocs/search_index.json +824 -0
- data/manual/site/sitemap.xml +152 -0
- data/manual/site/wheels.png +0 -0
- data/plugins/changed_managed_files/changed_managed_files_inspector.rb +1 -1
- data/plugins/changed_managed_files/changed_managed_files_model.rb +1 -1
- data/plugins/changed_managed_files/changed_managed_files_renderer.rb +1 -1
- data/plugins/changed_managed_files/schema/system-description-changed-managed-files.schema-v7.json +160 -0
- data/plugins/config_files/config_files_inspector.rb +1 -1
- data/plugins/config_files/config_files_model.rb +1 -1
- data/plugins/config_files/config_files_renderer.rb +1 -1
- data/plugins/config_files/schema/system-description-config-files.schema-v7.json +160 -0
- data/plugins/environment/environment_inspector.rb +1 -1
- data/plugins/environment/environment_model.rb +1 -1
- data/plugins/environment/schema/system-description-environment.schema-v7.json +17 -0
- data/plugins/groups/groups_inspector.rb +1 -1
- data/plugins/groups/groups_model.rb +1 -1
- data/plugins/groups/groups_renderer.rb +1 -1
- data/plugins/groups/schema/system-description-groups.schema-v7.json +49 -0
- data/plugins/os/os_inspector.rb +1 -1
- data/plugins/os/os_model.rb +1 -1
- data/plugins/os/os_renderer.rb +1 -1
- data/plugins/os/schema/system-description-os.schema-v7.json +21 -0
- data/plugins/packages/packages_inspector.rb +1 -1
- data/plugins/packages/packages_model.rb +1 -1
- data/plugins/packages/packages_renderer.rb +1 -1
- data/plugins/packages/schema/system-description-packages.schema-v7.json +115 -0
- data/plugins/patterns/patterns_inspector.rb +6 -6
- data/plugins/patterns/patterns_model.rb +1 -1
- data/plugins/patterns/patterns_renderer.rb +1 -1
- data/plugins/patterns/schema/system-description-patterns.schema-v7.json +58 -0
- data/plugins/repositories/repositories_inspector.rb +16 -16
- data/plugins/repositories/repositories_model.rb +1 -1
- data/plugins/repositories/repositories_renderer.rb +1 -1
- data/plugins/repositories/schema/system-description-repositories.schema-v7.json +165 -0
- data/plugins/services/schema/system-description-services.schema-v7.json +93 -0
- data/plugins/services/services_inspector.rb +1 -1
- data/plugins/services/services_model.rb +1 -1
- data/plugins/services/services_renderer.rb +1 -1
- data/plugins/unmanaged_files/schema/system-description-unmanaged-files.schema-v6.json +19 -61
- data/plugins/unmanaged_files/schema/system-description-unmanaged-files.schema-v7.json +124 -0
- data/plugins/unmanaged_files/unmanaged_files_inspector.rb +21 -436
- data/plugins/unmanaged_files/unmanaged_files_model.rb +2 -2
- data/plugins/unmanaged_files/unmanaged_files_renderer.rb +2 -2
- data/plugins/users/schema/system-description-users.schema-v7.json +86 -0
- data/plugins/users/users_inspector.rb +1 -1
- data/plugins/users/users_model.rb +1 -1
- data/plugins/users/users_renderer.rb +1 -1
- data/schema/migrations/migrate1to2.rb +1 -1
- data/schema/migrations/migrate6to7.rb +38 -0
- data/schema/system-description-global.schema-v7.json +43 -0
- data/tools/go.rb +92 -0
- data/tools/helper_builder.rb +16 -49
- metadata +182 -6
- data/man/generated/machinery.1.html +0 -1399
@@ -0,0 +1,198 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<link href="../custom.css" rel="stylesheet">
|
6
|
+
</head>
|
7
|
+
<body id="manpage">
|
8
|
+
<div id="back">
|
9
|
+
<a href="..">
|
10
|
+
<img src="../hand3.png" class="hand3"/>
|
11
|
+
<div class="goback">Go back to the web site</div>
|
12
|
+
</a>
|
13
|
+
</div>
|
14
|
+
<div class="mp">
|
15
|
+
<div class="nav">
|
16
|
+
<ul>
|
17
|
+
|
18
|
+
|
19
|
+
<li class="">
|
20
|
+
<a href="../docs/">Welcome</a>
|
21
|
+
</li>
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
<li>Home
|
27
|
+
<ul>
|
28
|
+
|
29
|
+
<li class="">
|
30
|
+
<a href="../machinery_main_general.1/">General</a>
|
31
|
+
</li>
|
32
|
+
|
33
|
+
<li class="">
|
34
|
+
<a href="../machinery_main_scopes.1/">Scopes</a>
|
35
|
+
</li>
|
36
|
+
|
37
|
+
<li class="">
|
38
|
+
<a href="../machinery_main_usecases.1/">Use cases</a>
|
39
|
+
</li>
|
40
|
+
|
41
|
+
<li class="">
|
42
|
+
<a href="../machinery_security_implications.1/">Security Implications</a>
|
43
|
+
</li>
|
44
|
+
|
45
|
+
</ul>
|
46
|
+
</li>
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
<li>Commands
|
52
|
+
<ul>
|
53
|
+
|
54
|
+
<li class="">
|
55
|
+
<a href="../machinery-analyze.1/">Analyze</a>
|
56
|
+
</li>
|
57
|
+
|
58
|
+
<li class="current">
|
59
|
+
<a href="./">Build</a>
|
60
|
+
</li>
|
61
|
+
|
62
|
+
<li class="">
|
63
|
+
<a href="../machinery-compare.1/">Compare</a>
|
64
|
+
</li>
|
65
|
+
|
66
|
+
<li class="">
|
67
|
+
<a href="../machinery-config.1/">Config</a>
|
68
|
+
</li>
|
69
|
+
|
70
|
+
<li class="">
|
71
|
+
<a href="../machinery-copy.1/">Copy</a>
|
72
|
+
</li>
|
73
|
+
|
74
|
+
<li class="">
|
75
|
+
<a href="../machinery-deploy.1/">Deploy</a>
|
76
|
+
</li>
|
77
|
+
|
78
|
+
<li class="">
|
79
|
+
<a href="../machinery-export-autoyast.1/">Export AutoYaST</a>
|
80
|
+
</li>
|
81
|
+
|
82
|
+
<li class="">
|
83
|
+
<a href="../machinery-export-kiwi.1/">Export Kiwi</a>
|
84
|
+
</li>
|
85
|
+
|
86
|
+
<li class="">
|
87
|
+
<a href="../machinery-inspect.1/">Inspect</a>
|
88
|
+
</li>
|
89
|
+
|
90
|
+
<li class="">
|
91
|
+
<a href="../machinery-inspect-docker.1/">Inspect Docker</a>
|
92
|
+
</li>
|
93
|
+
|
94
|
+
<li class="">
|
95
|
+
<a href="../machinery-list.1/">List</a>
|
96
|
+
</li>
|
97
|
+
|
98
|
+
<li class="">
|
99
|
+
<a href="../machinery-man.1/">Man</a>
|
100
|
+
</li>
|
101
|
+
|
102
|
+
<li class="">
|
103
|
+
<a href="../machinery-move.1/">Move</a>
|
104
|
+
</li>
|
105
|
+
|
106
|
+
<li class="">
|
107
|
+
<a href="../machinery-remove.1/">Remove</a>
|
108
|
+
</li>
|
109
|
+
|
110
|
+
<li class="">
|
111
|
+
<a href="../machinery-serve.1/">Serve</a>
|
112
|
+
</li>
|
113
|
+
|
114
|
+
<li class="">
|
115
|
+
<a href="../machinery-show.1/">Show</a>
|
116
|
+
</li>
|
117
|
+
|
118
|
+
<li class="">
|
119
|
+
<a href="../machinery-upgrade-format.1/">Upgrade Format</a>
|
120
|
+
</li>
|
121
|
+
|
122
|
+
<li class="">
|
123
|
+
<a href="../machinery-validate.1/">Validate</a>
|
124
|
+
</li>
|
125
|
+
|
126
|
+
</ul>
|
127
|
+
</li>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
</ul>
|
132
|
+
</div>
|
133
|
+
<div class="content">
|
134
|
+
<h1 id="build-build-image-from-system-description">build — Build Image from System Description</h1>
|
135
|
+
<h2 id="synopsis">SYNOPSIS</h2>
|
136
|
+
<p><code>machinery build</code> NAME -i IMAGE-DIR | --image-dir=IMAGE-DIR</p>
|
137
|
+
<p><code>machinery</code> help build</p>
|
138
|
+
<h2 id="description">DESCRIPTION</h2>
|
139
|
+
<p>The <code>build</code> command builds an image from a system description. The image is a
|
140
|
+
system image in the qcow2 format, which can be used with the KVM hypervisor.
|
141
|
+
It can be run locally or deployed to a cloud environment.</p>
|
142
|
+
<p><code>machinery</code> uses the image building command line tool
|
143
|
+
<a href="http://en.opensuse.org/Portal:KIWI">KIWI</a> to perform the actual build. KIWI
|
144
|
+
data is stored to a temporary directory and cleaned up after the build. The KIWI
|
145
|
+
log is shown as output of the <code>build</code> command format for showing progress and
|
146
|
+
diagnosing errors.</p>
|
147
|
+
<p>When building an image, Machinery filters out some files which would break the
|
148
|
+
built image. The list of filters is shown at the beginning of the build.</p>
|
149
|
+
<h2 id="arguments">ARGUMENTS</h2>
|
150
|
+
<ul>
|
151
|
+
<li><code>NAME</code> (required):
|
152
|
+
Use specified system description.</li>
|
153
|
+
</ul>
|
154
|
+
<h2 id="options">OPTIONS</h2>
|
155
|
+
<ul>
|
156
|
+
<li>
|
157
|
+
<p><code>-i IMAGE-DIR</code>, <code>--image-dir=IMAGE-DIR</code> (required):
|
158
|
+
Save image file under specified path.</p>
|
159
|
+
</li>
|
160
|
+
<li>
|
161
|
+
<p><code>-d</code>, <code>--enable-dhcp</code> (optional):
|
162
|
+
Enable DHCP client on first network card of built image</p>
|
163
|
+
</li>
|
164
|
+
<li>
|
165
|
+
<p><code>-s</code>, <code>--enable-ssh</code> (optional):
|
166
|
+
Enable SSH service in built image</p>
|
167
|
+
</li>
|
168
|
+
</ul>
|
169
|
+
<h2 id="prerequisites">PREREQUISITES</h2>
|
170
|
+
<ul>
|
171
|
+
<li>
|
172
|
+
<p>The <code>build</code> command requires the packages <code>kiwi</code> and <code>kiwi-desc-vmxboot</code>.</p>
|
173
|
+
</li>
|
174
|
+
<li>
|
175
|
+
<p>The necessary vmxboot template for the machinery being built must be
|
176
|
+
installed (i.e. if you want to build an openSUSE Leap machine then the
|
177
|
+
template <code>/usr/share/kiwi/image/vmxboot/suse-leap42.1</code> is required)</p>
|
178
|
+
</li>
|
179
|
+
<li>
|
180
|
+
<p>All repositories in the system description must be accessible from the
|
181
|
+
build machine on which <code>machinery build</code> is called.</p>
|
182
|
+
</li>
|
183
|
+
<li>
|
184
|
+
<p>Machinery can only build x86_64 images on x86_64 systems at the moment.</p>
|
185
|
+
</li>
|
186
|
+
</ul>
|
187
|
+
<h2 id="examples">EXAMPLES</h2>
|
188
|
+
<ul>
|
189
|
+
<li>
|
190
|
+
<p>To build an image from the system description named "tux" and to save the
|
191
|
+
image under the <code>/tmp/tux/</code> directory:</p>
|
192
|
+
<p>$ <code>machinery</code> build tux -i /tmp/tux/</p>
|
193
|
+
</li>
|
194
|
+
</ul>
|
195
|
+
</div>
|
196
|
+
</div>
|
197
|
+
</body>
|
198
|
+
</html>
|
@@ -0,0 +1,200 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<link href="../custom.css" rel="stylesheet">
|
6
|
+
</head>
|
7
|
+
<body id="manpage">
|
8
|
+
<div id="back">
|
9
|
+
<a href="..">
|
10
|
+
<img src="../hand3.png" class="hand3"/>
|
11
|
+
<div class="goback">Go back to the web site</div>
|
12
|
+
</a>
|
13
|
+
</div>
|
14
|
+
<div class="mp">
|
15
|
+
<div class="nav">
|
16
|
+
<ul>
|
17
|
+
|
18
|
+
|
19
|
+
<li class="">
|
20
|
+
<a href="../docs/">Welcome</a>
|
21
|
+
</li>
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
<li>Home
|
27
|
+
<ul>
|
28
|
+
|
29
|
+
<li class="">
|
30
|
+
<a href="../machinery_main_general.1/">General</a>
|
31
|
+
</li>
|
32
|
+
|
33
|
+
<li class="">
|
34
|
+
<a href="../machinery_main_scopes.1/">Scopes</a>
|
35
|
+
</li>
|
36
|
+
|
37
|
+
<li class="">
|
38
|
+
<a href="../machinery_main_usecases.1/">Use cases</a>
|
39
|
+
</li>
|
40
|
+
|
41
|
+
<li class="">
|
42
|
+
<a href="../machinery_security_implications.1/">Security Implications</a>
|
43
|
+
</li>
|
44
|
+
|
45
|
+
</ul>
|
46
|
+
</li>
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
<li>Commands
|
52
|
+
<ul>
|
53
|
+
|
54
|
+
<li class="">
|
55
|
+
<a href="../machinery-analyze.1/">Analyze</a>
|
56
|
+
</li>
|
57
|
+
|
58
|
+
<li class="">
|
59
|
+
<a href="../machinery-build.1/">Build</a>
|
60
|
+
</li>
|
61
|
+
|
62
|
+
<li class="current">
|
63
|
+
<a href="./">Compare</a>
|
64
|
+
</li>
|
65
|
+
|
66
|
+
<li class="">
|
67
|
+
<a href="../machinery-config.1/">Config</a>
|
68
|
+
</li>
|
69
|
+
|
70
|
+
<li class="">
|
71
|
+
<a href="../machinery-copy.1/">Copy</a>
|
72
|
+
</li>
|
73
|
+
|
74
|
+
<li class="">
|
75
|
+
<a href="../machinery-deploy.1/">Deploy</a>
|
76
|
+
</li>
|
77
|
+
|
78
|
+
<li class="">
|
79
|
+
<a href="../machinery-export-autoyast.1/">Export AutoYaST</a>
|
80
|
+
</li>
|
81
|
+
|
82
|
+
<li class="">
|
83
|
+
<a href="../machinery-export-kiwi.1/">Export Kiwi</a>
|
84
|
+
</li>
|
85
|
+
|
86
|
+
<li class="">
|
87
|
+
<a href="../machinery-inspect.1/">Inspect</a>
|
88
|
+
</li>
|
89
|
+
|
90
|
+
<li class="">
|
91
|
+
<a href="../machinery-inspect-docker.1/">Inspect Docker</a>
|
92
|
+
</li>
|
93
|
+
|
94
|
+
<li class="">
|
95
|
+
<a href="../machinery-list.1/">List</a>
|
96
|
+
</li>
|
97
|
+
|
98
|
+
<li class="">
|
99
|
+
<a href="../machinery-man.1/">Man</a>
|
100
|
+
</li>
|
101
|
+
|
102
|
+
<li class="">
|
103
|
+
<a href="../machinery-move.1/">Move</a>
|
104
|
+
</li>
|
105
|
+
|
106
|
+
<li class="">
|
107
|
+
<a href="../machinery-remove.1/">Remove</a>
|
108
|
+
</li>
|
109
|
+
|
110
|
+
<li class="">
|
111
|
+
<a href="../machinery-serve.1/">Serve</a>
|
112
|
+
</li>
|
113
|
+
|
114
|
+
<li class="">
|
115
|
+
<a href="../machinery-show.1/">Show</a>
|
116
|
+
</li>
|
117
|
+
|
118
|
+
<li class="">
|
119
|
+
<a href="../machinery-upgrade-format.1/">Upgrade Format</a>
|
120
|
+
</li>
|
121
|
+
|
122
|
+
<li class="">
|
123
|
+
<a href="../machinery-validate.1/">Validate</a>
|
124
|
+
</li>
|
125
|
+
|
126
|
+
</ul>
|
127
|
+
</li>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
</ul>
|
132
|
+
</div>
|
133
|
+
<div class="content">
|
134
|
+
<h1 id="compare-compare-system-descriptions">compare — Compare System Descriptions</h1>
|
135
|
+
<h2 id="synopsis">SYNOPSIS</h2>
|
136
|
+
<p><code>machinery compare</code> [-s SCOPE | --scope=SCOPE] [-e EXCLUDE-SCOPE | --exclude-scope=EXCLUDE-SCOPE] [--no-pager] [--show-all] [--html] NAME1 NAME2</p>
|
137
|
+
<p><code>machinery</code> help compare</p>
|
138
|
+
<h2 id="description">DESCRIPTION</h2>
|
139
|
+
<p>The <code>compare</code> command compares stored system descriptions. The scope option can
|
140
|
+
be used to limit the output to the given scopes.</p>
|
141
|
+
<h2 id="arguments">ARGUMENTS</h2>
|
142
|
+
<ul>
|
143
|
+
<li>
|
144
|
+
<p><code>NAME1</code> (required):
|
145
|
+
First system description to compare.</p>
|
146
|
+
</li>
|
147
|
+
<li>
|
148
|
+
<p><code>NAME2</code> (required):
|
149
|
+
Second system description to compare.</p>
|
150
|
+
</li>
|
151
|
+
</ul>
|
152
|
+
<h2 id="options">OPTIONS</h2>
|
153
|
+
<ul>
|
154
|
+
<li>
|
155
|
+
<p><code>-s SCOPE</code>, <code>--scope=SCOPE</code> (optional):
|
156
|
+
Limit output to the specified scope.
|
157
|
+
See the <a href="#Scopes">Scope section</a> for more information.</p>
|
158
|
+
</li>
|
159
|
+
<li>
|
160
|
+
<p><code>-e SCOPE</code>, <code>--exclude-scope=EXCLUDE-SCOPE</code> (optional):
|
161
|
+
Skip output of the specified scope.
|
162
|
+
See the <a href="#Scopes">Scope section</a> for more information.</p>
|
163
|
+
</li>
|
164
|
+
<li>
|
165
|
+
<p><code>--no-pager</code> (optional):
|
166
|
+
Do not pipe output into a pager.</p>
|
167
|
+
</li>
|
168
|
+
<li>
|
169
|
+
<p><code>--show-all</code> (optional):
|
170
|
+
Show also common properties of the descriptions (not only the differences).</p>
|
171
|
+
</li>
|
172
|
+
<li>
|
173
|
+
<p><code>--html</code> (optional):
|
174
|
+
Shows the comparison of two system descriptions in the web browser.</p>
|
175
|
+
</li>
|
176
|
+
</ul>
|
177
|
+
<h2 id="examples">EXAMPLES</h2>
|
178
|
+
<ul>
|
179
|
+
<li>
|
180
|
+
<p>Compare system descriptions saved as <code>earth</code> and <code>moon</code>:</p>
|
181
|
+
<p>$ <code>machinery</code> compare earth moon</p>
|
182
|
+
</li>
|
183
|
+
<li>
|
184
|
+
<p>Compare system descriptions, but limit the scope to repositories only:</p>
|
185
|
+
<p>$ <code>machinery</code> compare earth moon -s repositories</p>
|
186
|
+
</li>
|
187
|
+
<li>
|
188
|
+
<p>Compare lists of changed managed files and include the common ones in the
|
189
|
+
list:</p>
|
190
|
+
<p>$ <code>machinery</code> compare earth moon --scope=changed-managed-files --show-all</p>
|
191
|
+
</li>
|
192
|
+
<li>
|
193
|
+
<p>Compares system descriptions and shows the result in HTML format in your web browser:</p>
|
194
|
+
<p>$ <code>machinery</code> compare --html earth moon</p>
|
195
|
+
</li>
|
196
|
+
</ul>
|
197
|
+
</div>
|
198
|
+
</div>
|
199
|
+
</body>
|
200
|
+
</html>
|
@@ -0,0 +1,175 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<link href="../custom.css" rel="stylesheet">
|
6
|
+
</head>
|
7
|
+
<body id="manpage">
|
8
|
+
<div id="back">
|
9
|
+
<a href="..">
|
10
|
+
<img src="../hand3.png" class="hand3"/>
|
11
|
+
<div class="goback">Go back to the web site</div>
|
12
|
+
</a>
|
13
|
+
</div>
|
14
|
+
<div class="mp">
|
15
|
+
<div class="nav">
|
16
|
+
<ul>
|
17
|
+
|
18
|
+
|
19
|
+
<li class="">
|
20
|
+
<a href="../docs/">Welcome</a>
|
21
|
+
</li>
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
<li>Home
|
27
|
+
<ul>
|
28
|
+
|
29
|
+
<li class="">
|
30
|
+
<a href="../machinery_main_general.1/">General</a>
|
31
|
+
</li>
|
32
|
+
|
33
|
+
<li class="">
|
34
|
+
<a href="../machinery_main_scopes.1/">Scopes</a>
|
35
|
+
</li>
|
36
|
+
|
37
|
+
<li class="">
|
38
|
+
<a href="../machinery_main_usecases.1/">Use cases</a>
|
39
|
+
</li>
|
40
|
+
|
41
|
+
<li class="">
|
42
|
+
<a href="../machinery_security_implications.1/">Security Implications</a>
|
43
|
+
</li>
|
44
|
+
|
45
|
+
</ul>
|
46
|
+
</li>
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
<li>Commands
|
52
|
+
<ul>
|
53
|
+
|
54
|
+
<li class="">
|
55
|
+
<a href="../machinery-analyze.1/">Analyze</a>
|
56
|
+
</li>
|
57
|
+
|
58
|
+
<li class="">
|
59
|
+
<a href="../machinery-build.1/">Build</a>
|
60
|
+
</li>
|
61
|
+
|
62
|
+
<li class="">
|
63
|
+
<a href="../machinery-compare.1/">Compare</a>
|
64
|
+
</li>
|
65
|
+
|
66
|
+
<li class="current">
|
67
|
+
<a href="./">Config</a>
|
68
|
+
</li>
|
69
|
+
|
70
|
+
<li class="">
|
71
|
+
<a href="../machinery-copy.1/">Copy</a>
|
72
|
+
</li>
|
73
|
+
|
74
|
+
<li class="">
|
75
|
+
<a href="../machinery-deploy.1/">Deploy</a>
|
76
|
+
</li>
|
77
|
+
|
78
|
+
<li class="">
|
79
|
+
<a href="../machinery-export-autoyast.1/">Export AutoYaST</a>
|
80
|
+
</li>
|
81
|
+
|
82
|
+
<li class="">
|
83
|
+
<a href="../machinery-export-kiwi.1/">Export Kiwi</a>
|
84
|
+
</li>
|
85
|
+
|
86
|
+
<li class="">
|
87
|
+
<a href="../machinery-inspect.1/">Inspect</a>
|
88
|
+
</li>
|
89
|
+
|
90
|
+
<li class="">
|
91
|
+
<a href="../machinery-inspect-docker.1/">Inspect Docker</a>
|
92
|
+
</li>
|
93
|
+
|
94
|
+
<li class="">
|
95
|
+
<a href="../machinery-list.1/">List</a>
|
96
|
+
</li>
|
97
|
+
|
98
|
+
<li class="">
|
99
|
+
<a href="../machinery-man.1/">Man</a>
|
100
|
+
</li>
|
101
|
+
|
102
|
+
<li class="">
|
103
|
+
<a href="../machinery-move.1/">Move</a>
|
104
|
+
</li>
|
105
|
+
|
106
|
+
<li class="">
|
107
|
+
<a href="../machinery-remove.1/">Remove</a>
|
108
|
+
</li>
|
109
|
+
|
110
|
+
<li class="">
|
111
|
+
<a href="../machinery-serve.1/">Serve</a>
|
112
|
+
</li>
|
113
|
+
|
114
|
+
<li class="">
|
115
|
+
<a href="../machinery-show.1/">Show</a>
|
116
|
+
</li>
|
117
|
+
|
118
|
+
<li class="">
|
119
|
+
<a href="../machinery-upgrade-format.1/">Upgrade Format</a>
|
120
|
+
</li>
|
121
|
+
|
122
|
+
<li class="">
|
123
|
+
<a href="../machinery-validate.1/">Validate</a>
|
124
|
+
</li>
|
125
|
+
|
126
|
+
</ul>
|
127
|
+
</li>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
</ul>
|
132
|
+
</div>
|
133
|
+
<div class="content">
|
134
|
+
<h1 id="config-configure-machinery">config — Configure Machinery</h1>
|
135
|
+
<h2 id="synopsis">SYNOPSIS</h2>
|
136
|
+
<p><code>machinery config</code></p>
|
137
|
+
<p><code>machinery config</code> KEY</p>
|
138
|
+
<p><code>machinery config</code> KEY=VALUE</p>
|
139
|
+
<p><code>machinery</code> help config</p>
|
140
|
+
<h2 id="description">DESCRIPTION</h2>
|
141
|
+
<p>The <code>config</code> command shows or changes machinery's configuration.</p>
|
142
|
+
<p>If no arguments are passed the <code>config</code> command lists all configuration
|
143
|
+
entries and their values. If only the key is provided its value is shown.
|
144
|
+
If key and value are specified this configuration entry is set accordingly.</p>
|
145
|
+
<p>The configuration is stored in <code>~/.machinery/machinery.config</code>.</p>
|
146
|
+
<h2 id="arguments">ARGUMENTS</h2>
|
147
|
+
<ul>
|
148
|
+
<li>
|
149
|
+
<p><code>KEY</code>:
|
150
|
+
Name of the configuration entry.</p>
|
151
|
+
</li>
|
152
|
+
<li>
|
153
|
+
<p><code>VALUE</code>:
|
154
|
+
Value of the configuration entry.</p>
|
155
|
+
</li>
|
156
|
+
</ul>
|
157
|
+
<h2 id="examples">EXAMPLES</h2>
|
158
|
+
<ul>
|
159
|
+
<li>
|
160
|
+
<p>Turn off hints:</p>
|
161
|
+
<p>$ <code>machinery</code> config hints=off</p>
|
162
|
+
</li>
|
163
|
+
<li>
|
164
|
+
<p>Show current configuration of hints:</p>
|
165
|
+
<p>$ <code>machinery</code> config hints</p>
|
166
|
+
</li>
|
167
|
+
<li>
|
168
|
+
<p>List all configuration entries and their values:</p>
|
169
|
+
<p>$ <code>machinery</code> config</p>
|
170
|
+
</li>
|
171
|
+
</ul>
|
172
|
+
</div>
|
173
|
+
</div>
|
174
|
+
</body>
|
175
|
+
</html>
|