mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-01 07:00:10 +00:00
Alpine 317 (#3888)
This commit is contained in:
@@ -185,13 +185,15 @@ func main() {
|
||||
|
||||
// If the userdata is a json file, create a directory/file hierarchy.
|
||||
// Example:
|
||||
// {
|
||||
// "foobar" : {
|
||||
// "foo" : {
|
||||
// "perm": "0644",
|
||||
// "content": "hello"
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// {
|
||||
// "foobar" : {
|
||||
// "foo" : {
|
||||
// "perm": "0644",
|
||||
// "content": "hello"
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// Will create foobar/foo with mode 0644 and content "hello"
|
||||
func processUserData(basePath string, data []byte) error {
|
||||
// Always write the raw data to a file
|
||||
|
Reference in New Issue
Block a user