mirror of
https://github.com/hashicorp/packer.git
synced 2026-04-27 09:09:52 -04:00
Add placeholder diskattacher for other OSes.
This commit is contained in:
parent
5ce6c8564c
commit
fb1a4bd86f
1 changed files with 11 additions and 0 deletions
11
builder/azure/chroot/diskattacher_other.go
Normal file
11
builder/azure/chroot/diskattacher_other.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// +build !linux,!freebsd
|
||||
|
||||
package chroot
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
func (da diskAttacher) WaitForDevice(ctx context.Context, lun int32) (device string, err error) {
|
||||
panic("The azure-chroot builder does not work on this platform.")
|
||||
}
|
||||
Loading…
Reference in a new issue