Remove the unused machine volume-driver
The driver is now hardcoded again, and there can only be
one type of mounts at a time (which one changes over time)
Revert "Make it possible to select the volume driver"
This reverts commit 6630e5cf66.
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
This commit is contained in:
parent
045413b286
commit
fa75599569
|
|
@ -123,10 +123,6 @@ func init() {
|
||||||
"USB Host passthrough: bus=$1,devnum=$2 or vendor=$1,product=$2")
|
"USB Host passthrough: bus=$1,devnum=$2 or vendor=$1,product=$2")
|
||||||
_ = initCmd.RegisterFlagCompletionFunc(USBFlagName, completion.AutocompleteDefault)
|
_ = initCmd.RegisterFlagCompletionFunc(USBFlagName, completion.AutocompleteDefault)
|
||||||
|
|
||||||
VolumeDriverFlagName := "volume-driver"
|
|
||||||
flags.StringVar(&initOpts.VolumeDriver, VolumeDriverFlagName, "", "Optional volume driver")
|
|
||||||
_ = initCmd.RegisterFlagCompletionFunc(VolumeDriverFlagName, completion.AutocompleteDefault)
|
|
||||||
|
|
||||||
IgnitionPathFlagName := "ignition-path"
|
IgnitionPathFlagName := "ignition-path"
|
||||||
flags.StringVar(&initOpts.IgnitionPath, IgnitionPathFlagName, "", "Path to ignition file")
|
flags.StringVar(&initOpts.IgnitionPath, IgnitionPathFlagName, "", "Path to ignition file")
|
||||||
_ = initCmd.RegisterFlagCompletionFunc(IgnitionPathFlagName, completion.AutocompleteDefault)
|
_ = initCmd.RegisterFlagCompletionFunc(IgnitionPathFlagName, completion.AutocompleteDefault)
|
||||||
|
|
|
||||||
|
|
@ -160,10 +160,6 @@ Example: `-v "$HOME/git:$HOME/git:ro,security_model=none"`
|
||||||
Default volume mounts are defined in *containers.conf*. Unless changed, the default values
|
Default volume mounts are defined in *containers.conf*. Unless changed, the default values
|
||||||
is `$HOME:$HOME`.
|
is `$HOME:$HOME`.
|
||||||
|
|
||||||
#### **--volume-driver**
|
|
||||||
|
|
||||||
Driver to use for mounting volumes from the host, such as `virtfs`.
|
|
||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
Initialize the default Podman machine, pulling the content from the internet.
|
Initialize the default Podman machine, pulling the content from the internet.
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ type InitOptions struct {
|
||||||
IgnitionPath string
|
IgnitionPath string
|
||||||
Image string
|
Image string
|
||||||
Volumes []string
|
Volumes []string
|
||||||
VolumeDriver string
|
|
||||||
IsDefault bool
|
IsDefault bool
|
||||||
Memory uint64
|
Memory uint64
|
||||||
Name string
|
Name string
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue