update docker pkg

This commit is contained in:
Victor Vrantchan
2016-04-24 01:47:00 -04:00
parent cf04dd5165
commit 2f9c4e3098
2 changed files with 2 additions and 1 deletions

View File

@@ -58,3 +58,4 @@ data:
volumes:
- /certs.d
- /pkgrepo
- /profiles

View File

@@ -182,7 +182,7 @@ func (db pgDatastore) SaveDevice(dev *Device) error {
// GetProfileForDevice returns an enrollment profile for a specific device
// For now there's a single profile stored on disk
func (db pgDatastore) GetProfileForDevice(uuid string) (*Profile, error) {
data, err := ioutil.ReadFile("data/profiles/Enrollment.mobileconfig")
data, err := ioutil.ReadFile("/profiles/Enroll.mobileconfig")
if err != nil {
return nil, err
}